1 <?xml version="1.0" encoding="utf-8"?>
3 Copyright (C) 2014 The Android Open Source Project
4 Copyright (C) 2016 The CyanogenMod Project
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
19 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
20 android:key="zen_mode_settings"
21 android:title="@string/zen_mode_settings_title" >
23 <!-- Priority only allows -->
25 android:key="priority_settings"
26 android:title="@string/zen_mode_priority_settings_title"
27 android:fragment="com.android.settings.notification.ZenModePrioritySettings" />
31 android:key="automation_settings"
32 android:title="@string/zen_mode_automation_settings_title"
33 android:fragment="com.android.settings.notification.ZenModeAutomationSettings" />
35 <!-- Do Not Disturb access -->
37 android:key="manage_zen_access"
38 android:title="@string/manage_zen_access_title"
39 android:persistent="false"
40 android:fragment="com.android.settings.notification.ZenAccessSettings" />
42 <!-- Prevent audio ducking -->
43 <com.android.settings.cyanogenmod.CMGlobalSettingSwitchPreference
44 android:key="zen_disable_ducking_during_media_playback"
45 android:title="@string/interruptions_ignore_while_media_title"
46 android:summary="@string/interruptions_ignore_while_media_summary" />