summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-01-08 21:01:16 -0800
committerSteve Kondik <shade@chemlab.org>2016-02-08 08:12:52 -0800
commit68872cb8247d4f53e63a67c8abe62aca029c1e4f (patch)
tree771f99987fc5ddfc3c7649405c022ea4e57c3644 /res/xml
parent417e5bd1ee9d7fa60d8320b0da48d32300c1a59d (diff)
downloadpackages_apps_Settings-68872cb8247d4f53e63a67c8abe62aca029c1e4f.zip
packages_apps_Settings-68872cb8247d4f53e63a67c8abe62aca029c1e4f.tar.gz
packages_apps_Settings-68872cb8247d4f53e63a67c8abe62aca029c1e4f.tar.bz2
settings: Add preference for automagic LED colors
* And use the automagic color as the default when picking custom colors. Change-Id: I9861d3d889dfcb5eba62b69339e7afb0db2fd364
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/notification_light_settings.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/xml/notification_light_settings.xml b/res/xml/notification_light_settings.xml
index d11929d..27ecbb0 100644
--- a/res/xml/notification_light_settings.xml
+++ b/res/xml/notification_light_settings.xml
@@ -25,6 +25,12 @@
android:key="notification_light_pulse"
android:title="@string/notification_light_title" />
+ <com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference
+ android:key="notification_light_color_auto"
+ android:title="@string/notification_light_automagic"
+ android:dependency="notification_light_pulse"
+ android:defaultValue="true" />
+
<com.android.settings.notificationlight.ApplicationLightPreference
android:key="default"
android:title="@string/notification_light_default_value"