feedback: Change volume type of FEEDBACK_PATTERN_TIMER_ENDING to system volume 76/304876/1 accepted/tizen/7.0/unified/20240125.161814
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 25 Jan 2024 05:46:54 +0000 (14:46 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 25 Jan 2024 05:49:50 +0000 (14:49 +0900)
In order to support changed use-case of FEEDBACK_PATTERN_TIMER_ENDING,
change the volume type to system volume.

Change-Id: I84d98ab8f9b02c71d85693aa1fae9b72087fc0bd
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/check.c

index 1960b72..efdd997 100644 (file)
@@ -2149,8 +2149,6 @@ static int common_get_strength_type(int type, int pattern)
                        return VOLUME_TYPE_RINGTONE;
                else if (pattern == FEEDBACK_PATTERN_ERROR)
                        return VOLUME_TYPE_NOTIFICATION;
-               else if (pattern == FEEDBACK_PATTERN_TIMER_ENDING)
-                       return VOLUME_TYPE_ALARM;
                else
                        return VOLUME_TYPE_SYSTEM;
        } else if (CHECK_VIBRATION(type)) {