feedback: Change volume type of FEEDBACK_PATTERN_ERROR to alarm type 76/308776/1 accepted/tizen/8.0/unified/20240402.151506
authorYunhee Seo <yuni.seo@samsung.com>
Mon, 1 Apr 2024 02:30:48 +0000 (11:30 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Mon, 1 Apr 2024 03:01:34 +0000 (12:01 +0900)
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 <yuni.seo@samsung.com>
src/check.c

index b3c7fdd..0d5d8b0 100644 (file)
@@ -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)) {