aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaan Kulahli <kaankulahli2@gmail.com>2016-12-05 21:13:54 +0000
committerKaan Kulahli <kaankulahli2@gmail.com>2016-12-05 21:13:54 +0000
commit5b63a188767855b7de263936e329574bc06511b9 (patch)
tree9df8f4adfa937243a30c65b18502df83122eb721
parent22ad0f0a8d91f74db5d10272981bd0081f36475b (diff)
Revert "shamrock: Switch to the unified LED capabilities overlay"
This reverts commit 22ad0f0a8d91f74db5d10272981bd0081f36475b. Change-Id: I17c093a11446a9c74d02f0f3bd8f64bce3902b87
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml7
-rw-r--r--overlay/vendor/cmsdk/cm/res/res/values/config.xml18
2 files changed, 9 insertions, 16 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 01d2387..1378138 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -104,9 +104,16 @@
<!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
<bool name="config_intrusiveNotificationLed">true</bool>
+ <!-- Does the notification LED support multiple colors?
+ Used to decide if the user can change the colors -->
+ <bool name="config_multiColorNotificationLed">true</bool>
+
<!-- Is the battery LED intrusive? Used to decide if there should be a disable option -->
<bool name="config_intrusiveBatteryLed">true</bool>
+ <!-- Does the battery LED support multiple colors? Used to decide if the user can change the colors -->
+ <bool name="config_multiColorBatteryLed">true</bool>
+
<!-- Default color for notification LED is white. -->
<color name="config_defaultNotificationColor">#ffffffff</color>
diff --git a/overlay/vendor/cmsdk/cm/res/res/values/config.xml b/overlay/vendor/cmsdk/cm/res/res/values/config.xml
index 9f58d37..3b23b2d 100644
--- a/overlay/vendor/cmsdk/cm/res/res/values/config.xml
+++ b/overlay/vendor/cmsdk/cm/res/res/values/config.xml
@@ -16,21 +16,7 @@
-->
<resources>
-
-
- <!-- 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">11</integer>
+ <!-- Is the notification LED brightness adjustable ? Used to decide if the user can set LED brightness -->
+ <bool name="config_adjustableNotificationLedBrightness">true</bool>
</resources>