diff options
author | John Spurlock <jspurlock@google.com> | 2014-04-29 18:07:23 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2014-04-29 20:21:08 -0400 |
commit | c9afadb04b00598f5988101681089290cf14f79c (patch) | |
tree | b8ff94552572df9467b3dbfefac3aab2d1c17ff7 /res/xml/zen_mode_settings.xml | |
parent | a0ceb908bfe6d030f588455db3f3b42c9931fdea (diff) | |
download | packages_apps_Settings-c9afadb04b00598f5988101681089290cf14f79c.tar.gz packages_apps_Settings-c9afadb04b00598f5988101681089290cf14f79c.tar.bz2 packages_apps_Settings-c9afadb04b00598f5988101681089290cf14f79c.zip |
Add condition provider access to settings.
Pull NotificationAccessSettings out into a reusable base class
and reuse all of it for a new condition providers settings page.
As with notification listeners, the entire section is hidden if
no apps provide conditions.
Change-Id: Ib5273f3362e392d99647347c23a514e4590f7ac9
Diffstat (limited to 'res/xml/zen_mode_settings.xml')
-rw-r--r-- | res/xml/zen_mode_settings.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/res/xml/zen_mode_settings.xml b/res/xml/zen_mode_settings.xml index 19316af31..75f01d874 100644 --- a/res/xml/zen_mode_settings.xml +++ b/res/xml/zen_mode_settings.xml @@ -42,9 +42,21 @@ android:switchTextOn="" android:title="@string/zen_mode_messages" /> </PreferenceCategory> + <PreferenceCategory android:key="automatic" android:layout="@layout/zen_mode_section" android:title="@string/zen_mode_automatic_category" /> + <PreferenceCategory + android:key="security" + android:layout="@layout/zen_mode_section" + android:title="@string/zen_mode_security_category" > + <Preference + android:key="manage_condition_providers" + android:title="@string/manage_condition_providers" + android:persistent="false" + android:fragment="com.android.settings.notification.ConditionProviderSettings" /> + </PreferenceCategory> + </PreferenceScreen>
\ No newline at end of file |