From: Yunhee Seo Date: Mon, 1 Apr 2024 02:30:48 +0000 (+0900) Subject: feedback: Change volume type of FEEDBACK_PATTERN_ERROR to alarm type X-Git-Tag: accepted/tizen/8.0/unified/20240402.151506^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5558057136b51c1a2bdf5c8d56d5bb4f859a30a;p=platform%2Fcore%2Fsystem%2Flibsvi.git feedback: Change volume type of FEEDBACK_PATTERN_ERROR to alarm type To avoid collision with other bixby sound which uses notification stream, FEEDBACK_PATTERN_ERROR sound volume type is changed to VOLUME_TYPE_ALARM. Change-Id: Ib920101666d246aaf217983b5f49d54c58e3572d Signed-off-by: Yunhee Seo --- diff --git a/src/check.c b/src/check.c index b3c7fdd..0d5d8b0 100644 --- a/src/check.c +++ b/src/check.c @@ -2163,7 +2163,7 @@ static int common_get_strength_type(int type, int pattern) else if (pattern == FEEDBACK_PATTERN_VOLUME_KEY) return VOLUME_TYPE_RINGTONE; else if (pattern == FEEDBACK_PATTERN_ERROR) - return VOLUME_TYPE_NOTIFICATION; + return VOLUME_TYPE_ALARM; else return VOLUME_TYPE_SYSTEM; } else if (CHECK_VIBRATION(type)) {