cmsdk: Add support for segmented LEDs

* For devices with segmented LEDs which can function as a range bar.

Change-Id: I346576b705635b60f9fd8716937e86b23bc7aa30
This commit is contained in:
Steve Kondik 2016-05-03 03:00:14 -07:00
parent 60f2acf2f0
commit 462be9bc62
2 changed files with 7 additions and 0 deletions

View File

@ -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>

View File

@ -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" />