aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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, 16 insertions, 9 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 1378138..01d2387 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -104,16 +104,9 @@
<!-- 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 3b23b2d..9f58d37 100644
--- a/overlay/vendor/cmsdk/cm/res/res/values/config.xml
+++ b/overlay/vendor/cmsdk/cm/res/res/values/config.xml
@@ -16,7 +16,21 @@
-->
<resources>
- <!-- Is the notification LED brightness adjustable ? Used to decide if the user can set LED brightness -->
- <bool name="config_adjustableNotificationLedBrightness">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">11</integer>
</resources>