Remove "Allow alarms" from top level DND settings

Test: manual
Bug: 111475013
Change-Id: Ieb2539a7f0a389738a936cb9210951d07121e69a
This commit is contained in:
Beverly
2018-11-21 13:22:31 -05:00
parent 1e24cb02dc
commit c94da8b7ce
2 changed files with 0 additions and 7 deletions

View File

@@ -37,11 +37,6 @@
android:title="@string/zen_mode_messages_title" android:title="@string/zen_mode_messages_title"
android:fragment="com.android.settings.notification.ZenModeMessagesSettings" /> android:fragment="com.android.settings.notification.ZenModeMessagesSettings" />
<!-- Alarms -->
<SwitchPreference
android:key="zen_mode_behavior_alarms"
android:title="@string/zen_mode_alarms"/>
<!-- All sounds --> <!-- All sounds -->
<Preference <Preference
android:key="zen_sound_vibration_settings" android:key="zen_sound_vibration_settings"

View File

@@ -86,8 +86,6 @@ public class ZenModeSettings extends ZenModeSettingsBase {
"zen_mode_behavior_calls")); "zen_mode_behavior_calls"));
controllers.add(new ZenModeMessagesPreferenceController(context, lifecycle, controllers.add(new ZenModeMessagesPreferenceController(context, lifecycle,
"zen_mode_behavior_messages")); "zen_mode_behavior_messages"));
controllers.add(new ZenModeAlarmsPreferenceController(context, lifecycle,
"zen_mode_behavior_alarms"));
controllers.add(new ZenModeBlockedEffectsPreferenceController(context, lifecycle)); controllers.add(new ZenModeBlockedEffectsPreferenceController(context, lifecycle));
controllers.add(new ZenModeDurationPreferenceController(context, lifecycle)); controllers.add(new ZenModeDurationPreferenceController(context, lifecycle));
controllers.add(new ZenModeAutomationPreferenceController(context)); controllers.add(new ZenModeAutomationPreferenceController(context));