diff options
author | Steve Kondik <steve@cyngn.com> | 2016-05-03 03:00:14 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-05-03 18:54:07 -0700 |
commit | 462be9bc629defa001dc9d0878b468f43c43238a (patch) | |
tree | 25a91fddd270ebf9a69948f3dbc764cfd179c19d /cm | |
parent | 60f2acf2f001b5234b7cd3ab63306a7a32bea9f8 (diff) | |
download | vendor_cmsdk-462be9bc629defa001dc9d0878b468f43c43238a.zip vendor_cmsdk-462be9bc629defa001dc9d0878b468f43c43238a.tar.gz vendor_cmsdk-462be9bc629defa001dc9d0878b468f43c43238a.tar.bz2 |
cmsdk: Add support for segmented LEDs
* For devices with segmented LEDs which can function as a range bar.
Change-Id: I346576b705635b60f9fd8716937e86b23bc7aa30
Diffstat (limited to 'cm')
-rw-r--r-- | cm/res/res/values/config.xml | 6 | ||||
-rw-r--r-- | cm/res/res/values/symbols.xml | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/cm/res/res/values/config.xml b/cm/res/res/values/config.xml index db621b1..155d658 100644 --- a/cm/res/res/values/config.xml +++ b/cm/res/res/values/config.xml @@ -70,6 +70,12 @@ Used to decide if the user can change the multiple LEDs settings --> <bool name="config_multipleNotificationLeds">false</bool> + <!-- Should we send the battery level to the HAL as the lower 8 bits + of the color? This should only be used if the HAL does special + handling of the value- a use case for this would be a segmented + LED that can function as a range bar --> + <bool name="config_useSegmentedBatteryLed">false</bool> + <!-- Default, comma-delimited, quick settings tiles. See QSConstants.java for a list of all available tiles --> <string name="config_defaultQuickSettingsTiles">wifi,bt,dnd,cell,airplane,rotation,location,edit,flashlight,cast,hotspot,inversion,live_display</string> diff --git a/cm/res/res/values/symbols.xml b/cm/res/res/values/symbols.xml index 8d256f8..fa31456 100644 --- a/cm/res/res/values/symbols.xml +++ b/cm/res/res/values/symbols.xml @@ -81,6 +81,7 @@ <!-- Notification and battery light --> <java-symbol type="bool" name="config_adjustableNotificationLedBrightness" /> <java-symbol type="bool" name="config_multipleNotificationLeds" /> + <java-symbol type="bool" name="config_useSegmentedBatteryLed" /> <!-- Quick Settings tile defaults --> <java-symbol type="string" name="config_defaultQuickSettingsTiles" /> |