*ring ring* Who is it? Destiny? I've been expecting your call...
https://www.youtube.com/watch?v=7VFPtY7hiGw Allow USAGE_NOTIFICATION_RINGTONE regardless of effect supression component, because otherwise we can't use the system implementation of ringtones (audio or vibration). If a platform wishes to turn supress this, it can be disabled through the default zen configuration if necessary. Change-Id: I02a89376b40c6eecde2468c93898b4a821315e64
This commit is contained in:
@@ -411,8 +411,7 @@ public class ZenModeHelper {
|
||||
applyRestrictions(muteNotifications, USAGE_NOTIFICATION);
|
||||
|
||||
// call restrictions
|
||||
final boolean muteCalls = zen && !mConfig.allowCalls && !mConfig.allowRepeatCallers
|
||||
|| mEffectsSuppressed;
|
||||
final boolean muteCalls = zen && !mConfig.allowCalls && !mConfig.allowRepeatCallers;
|
||||
applyRestrictions(muteCalls, USAGE_NOTIFICATION_RINGTONE);
|
||||
|
||||
// alarm restrictions
|
||||
|
||||
Reference in New Issue
Block a user