aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjrior001 <jriordan001@gmail.com>2016-12-03 20:38:00 -0500
committerJason Riordan <jriordan001@gmail.com>2016-12-03 19:17:05 -0800
commitcc4cc1efd0d1623e434e542240875ffe8de35ef6 (patch)
tree1c77d964d4eba1e68f0f86add975f81152be0c77
parent813fbcc6e53d887c012615264b60514c2743ff8f (diff)
mofd: utilize to new LED overlay
Change-Id: I7b1ea2cd67d6778e32ceb43213f6580cc0a820dd
-rw-r--r--overlay/vendor/cmsdk/cm/res/res/values/config.xml17
1 files changed, 16 insertions, 1 deletions
diff --git a/overlay/vendor/cmsdk/cm/res/res/values/config.xml b/overlay/vendor/cmsdk/cm/res/res/values/config.xml
index 3b132c8..b5ba21e 100644
--- a/overlay/vendor/cmsdk/cm/res/res/values/config.xml
+++ b/overlay/vendor/cmsdk/cm/res/res/values/config.xml
@@ -20,5 +20,20 @@
<bool name="config_proximityCheckOnWake">true</bool>
<integer name="config_proximityCheckTimeout">100</integer>
<bool name="config_proximityCheckOnWakeEnabledByDefault">true</bool>
-
+
+ <!-- All the capabilities of the LEDs on this device, stored as a bit field.
+ This integer should equal the sum of the corresponding value for each
+ of the following capabilities present:
+
+ LIGHTS_RGB_NOTIFICATION_LED = 1
+ LIGHTS_RGB_BATTERY_LED = 2
+ LIGHTS_MULTIPLE_NOTIFICATION_LED = 4
+ LIGHTS_PULSATING_LED = 8
+ LIGHTS_SEGMENTED_BATTERY_LED = 16
+ LIGHTS_ADJUSTABLE_NOTIFICATION_LED_BRIGHTNESS = 32
+
+ For example, a device support pulsating, RGB notification and
+ battery LEDs would set this config to 11. -->
+ <integer name="config_deviceLightCapabilities" translatable="false">11</integer>
+
</resources>