diff options
| author | Zhao Wei Liew <zhaoweiliew@gmail.com> | 2016-11-21 17:01:56 +0800 |
|---|---|---|
| committer | Rashed Abdel-Tawab <rashed@linux.com> | 2016-12-04 05:10:23 -0500 |
| commit | 61a1083ac3192fc131678cea225ff6d13b3bb107 (patch) | |
| tree | 239aec66a8c8af56f497146881c0e8374e800860 | |
| parent | 743978b1d91e41efbf727d134132b3a1dcc5484d (diff) | |
g5: Switch to the unified LED capabilities overlay
The old overlays have now been removed in favour
of a single unified and extensible overlay.
Change-Id: I56f5bfa2baa7bb9bf546bd5e59cebb74ac71732f
| -rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 8 | ||||
| -rw-r--r-- | overlay/vendor/cmsdk/cm/res/res/values/config.xml | 16 |
2 files changed, 14 insertions, 10 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index e488fdd..e457841 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -87,14 +87,6 @@ Must be in the range specified by minimum and maximum. --> <integer name="config_screenBrightnessSettingDefault">85</integer> - <!-- Does the notification LED support multiple colors? - Used to decide if the user can change the colors --> - <bool name="config_multiColorNotificationLed">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> - <!-- Is the notification LED intrusive? Used to decide if there should be a disable option --> <bool name="config_intrusiveNotificationLed">true</bool> diff --git a/overlay/vendor/cmsdk/cm/res/res/values/config.xml b/overlay/vendor/cmsdk/cm/res/res/values/config.xml index 86f7e93..4e27c8a 100644 --- a/overlay/vendor/cmsdk/cm/res/res/values/config.xml +++ b/overlay/vendor/cmsdk/cm/res/res/values/config.xml @@ -22,8 +22,20 @@ <integer name="config_proximityCheckTimeout">100</integer> <bool name="config_proximityCheckOnWakeEnabledByDefault">true</bool> - <!-- 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">43</integer> <!-- Color temperature settings for LiveDisplay. These were obtained by measuring the display at various color balance levels. --> |
