feedback: Change volume type of FEEDBACK_PATTERN_ERROR to alarm type 73/308773/1 accepted/tizen_7.0_unified tizen_7.0 accepted/tizen/7.0/unified/20240402.143424 accepted/tizen/7.0/unified/20240402.153318
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 02:39:36 +0000 (11:39 +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 efdd997..1b12584 100644 (file)
@@ -2148,7 +2148,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)) {