Don't add the "Events" mode anymore, and delete it if disabled
Fixes: 368227085 Test: atest ZenModeHelperTest Flag: android.app.modes_ui Change-Id: Idd5563505ca92463485b433e80f29bf3e0f98d39
This commit is contained in:
@@ -458,7 +458,7 @@ public class ZenModeBackend {
|
||||
}
|
||||
|
||||
private static List<String> getDefaultRuleIds() {
|
||||
return ZenModeConfig.DEFAULT_RULE_IDS;
|
||||
return ZenModeConfig.getDefaultRuleIds();
|
||||
}
|
||||
|
||||
NotificationManager.Policy toNotificationPolicy(ZenPolicy policy) {
|
||||
|
||||
Reference in New Issue
Block a user