Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c94da8b7 authored by Beverly's avatar Beverly
Browse files

Remove "Allow alarms" from top level DND settings

Test: manual
Bug: 111475013
Change-Id: Ieb2539a7f0a389738a936cb9210951d07121e69a
parent 1e24cb02
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -37,11 +37,6 @@
            android:title="@string/zen_mode_messages_title"
            android:fragment="com.android.settings.notification.ZenModeMessagesSettings" />

        <!-- Alarms -->
        <SwitchPreference
            android:key="zen_mode_behavior_alarms"
            android:title="@string/zen_mode_alarms"/>

        <!-- All sounds -->
        <Preference
            android:key="zen_sound_vibration_settings"
+0 −2
Original line number Diff line number Diff line
@@ -86,8 +86,6 @@ public class ZenModeSettings extends ZenModeSettingsBase {
                "zen_mode_behavior_calls"));
        controllers.add(new ZenModeMessagesPreferenceController(context, lifecycle,
                "zen_mode_behavior_messages"));
        controllers.add(new ZenModeAlarmsPreferenceController(context, lifecycle,
                "zen_mode_behavior_alarms"));
        controllers.add(new ZenModeBlockedEffectsPreferenceController(context, lifecycle));
        controllers.add(new ZenModeDurationPreferenceController(context, lifecycle));
        controllers.add(new ZenModeAutomationPreferenceController(context));