diff options
| author | Zhao Wei Liew <zhaoweiliew@gmail.com> | 2016-11-21 14:31:00 +0530 |
|---|---|---|
| committer | rohan <purohit.rohan@gmail.com> | 2016-12-13 20:13:12 +0530 |
| commit | 451a66481c3394d45d5c36dcf8b349476d9345f6 (patch) | |
| tree | d1005f0c9d0d8462a77318cdfc3141ddd685d6fb | |
| parent | 7205d593178c9b8e6129c6fa10610577a7b1ddad (diff) | |
ferrari: 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 | 12 | ||||
| -rw-r--r-- | overlay/vendor/cmsdk/cm/res/res/values/config.xml | 14 |
2 files changed, 12 insertions, 14 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 53f8dca..1304019 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -184,18 +184,6 @@ <!-- Is the battery LED intrusive? Used to decide if there should be a disable option --> <bool name="config_intrusiveBatteryLed">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> - - <!-- Does the battery LED support multiple colors? - Used to decide if the user can change the colors --> - <bool name="config_multiColorBatteryLed">true</bool> - - <!-- Do the battery/notification LEDs support pulsing? - Used to decide if we show pulse settings --> - <bool name="config_ledCanPulse">true</bool> - <!-- Is the device capable of hot swapping an UICC Card --> <bool name="config_hotswapCapable">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 d3a1955..32637b5 100644 --- a/overlay/vendor/cmsdk/cm/res/res/values/config.xml +++ b/overlay/vendor/cmsdk/cm/res/res/values/config.xml @@ -19,7 +19,17 @@ <integer name="config_proximityCheckTimeout">200</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">11</integer> </resources> |
