summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorDvTonder <david.vantonder@gmail.com>2015-04-22 11:38:21 -0400
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-02-15 10:31:17 -0800
commit994fb0bf6ff5d1179d1fee0460428a7fa63e32e9 (patch)
tree7277437d1dbbb04b7529c5827ba7c4ddb11cf846 /res/xml
parent72e1c29059be52173f335268496890e4fc9f9697 (diff)
downloadpackages_apps_Settings-994fb0bf6ff5d1179d1fee0460428a7fa63e32e9.zip
packages_apps_Settings-994fb0bf6ff5d1179d1fee0460428a7fa63e32e9.tar.gz
packages_apps_Settings-994fb0bf6ff5d1179d1fee0460428a7fa63e32e9.tar.bz2
Settings: Allow/Prevent notification light in Zen mode (2 of 3)
This allows the user to prevent the notification lights from showing during Zen mode Change-Id: Ia3563d79f5c1fc012411496c7b8901099a78282e
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/notification_light_settings.xml6
-rw-r--r--res/xml/zen_mode_priority_settings.xml5
2 files changed, 11 insertions, 0 deletions
diff --git a/res/xml/notification_light_settings.xml b/res/xml/notification_light_settings.xml
index 27ecbb0..2c90039 100644
--- a/res/xml/notification_light_settings.xml
+++ b/res/xml/notification_light_settings.xml
@@ -62,6 +62,12 @@
android:dependency="notification_light_pulse" />
<com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference
+ android:key="allow_lights"
+ android:title="@string/notification_light_zen_mode"
+ android:dependency="notification_light_pulse"
+ android:defaultValue="true" />
+
+ <com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference
android:key="notification_light_pulse_custom_enable"
android:title="@string/notification_light_use_custom"
android:dependency="notification_light_pulse" />
diff --git a/res/xml/zen_mode_priority_settings.xml b/res/xml/zen_mode_priority_settings.xml
index 6e324ce..37ec317 100644
--- a/res/xml/zen_mode_priority_settings.xml
+++ b/res/xml/zen_mode_priority_settings.xml
@@ -57,4 +57,9 @@
android:title="@string/zen_mode_repeat_callers"
android:persistent="false"/>
+ <com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference
+ android:key="zen_priority_allow_lights"
+ android:title="@string/notification_light_title"
+ android:defaultValue="true" />
+
</PreferenceScreen>