Certain feedback patterns must be played without system/media sound volume dependency.
To remove dependency, add specific pattern-volume type rule.
Change-Id: I703268cce7882f24902e6bbc7cbcdfcc1ad5677f
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
return VOLUME_TYPE_SYSTEM|VOLUME_GAIN_DIALER;
else if (pattern == FEEDBACK_PATTERN_VOLUME_KEY)
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)) {