summaryrefslogtreecommitdiffstats
path: root/res/xml/notification_settings.xml
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2015-05-07 17:45:43 -0400
committerJohn Spurlock <jspurlock@google.com>2015-05-08 13:57:22 -0400
commit08531a81cb34dc45f0da4ca88e8530169831c7d2 (patch)
tree4e31fa2801007cc0faa6a45ab76f9a5ab8a94857 /res/xml/notification_settings.xml
parentc0df6623a0eb0ebbdb965111269b96d9f4a4b976 (diff)
downloadpackages_apps_Settings-08531a81cb34dc45f0da4ca88e8530169831c7d2.zip
packages_apps_Settings-08531a81cb34dc45f0da4ca88e8530169831c7d2.tar.gz
packages_apps_Settings-08531a81cb34dc45f0da4ca88e8530169831c7d2.tar.bz2
Settings: New DND access settings page.
- New advanced notification settings subpage for managing apps that have requested the ability to manage notification policy. - Create new "Advanced" section at the bottom of notification settings for this and the existing Notification access settings page. Bug: 18298798 Change-Id: Ib415e634980d37d6492799f67a6619700ee2a01c
Diffstat (limited to 'res/xml/notification_settings.xml')
-rw-r--r--res/xml/notification_settings.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/res/xml/notification_settings.xml b/res/xml/notification_settings.xml
index 7956a6d..72a189d 100644
--- a/res/xml/notification_settings.xml
+++ b/res/xml/notification_settings.xml
@@ -120,6 +120,12 @@
android:value="com.android.settings.Settings$NotificationAppListActivity" />
</PreferenceScreen>
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="advanced"
+ android:title="@string/advanced_section_header" >
+
<!-- Notification access -->
<Preference
android:key="manage_notification_access"
@@ -127,6 +133,13 @@
android:persistent="false"
android:fragment="com.android.settings.notification.NotificationAccessSettings" />
+ <!-- Do Not Disturb access -->
+ <Preference
+ android:key="manage_zen_access"
+ android:title="@string/manage_zen_access_title"
+ android:persistent="false"
+ android:fragment="com.android.settings.notification.ZenAccessSettings" />
+
</PreferenceCategory>
</PreferenceScreen>