diff options
author | Yunhee Seo <yuni.seo@samsung.com> | 2024-04-01 11:30:48 +0900 |
---|---|---|
committer | Yunhee Seo <yuni.seo@samsung.com> | 2024-04-01 11:39:36 +0900 |
commit | 78ea07a97a38df86d384d019ac78df2493a42365 (patch) | |
tree | 1ffa07e3a23ce477de08d73257c3a6bb494a7083 | |
parent | 82a5b4071acbf7acb21160fd1f4965e4991cb55d (diff) | |
download | libsvi-accepted/tizen_7.0_unified.tar.gz libsvi-accepted/tizen_7.0_unified.tar.bz2 libsvi-accepted/tizen_7.0_unified.zip |
feedback: Change volume type of FEEDBACK_PATTERN_ERROR to alarm typeaccepted/tizen/7.0/unified/20240402.153318accepted/tizen/7.0/unified/20240402.143424tizen_7.0accepted/tizen_7.0_unified
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>
-rw-r--r-- | src/check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check.c b/src/check.c index efdd997..1b12584 100644 --- a/src/check.c +++ b/src/check.c @@ -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)) { |