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:
parent
60f2acf2f0
commit
462be9bc62
|
@ -70,6 +70,12 @@
|
||||||
Used to decide if the user can change the multiple LEDs settings -->
|
Used to decide if the user can change the multiple LEDs settings -->
|
||||||
<bool name="config_multipleNotificationLeds">false</bool>
|
<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 -->
|
<!-- 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>
|
<string name="config_defaultQuickSettingsTiles">wifi,bt,dnd,cell,airplane,rotation,location,edit,flashlight,cast,hotspot,inversion,live_display</string>
|
||||||
|
|
||||||
|
|
|
@ -81,6 +81,7 @@
|
||||||
<!-- Notification and battery light -->
|
<!-- Notification and battery light -->
|
||||||
<java-symbol type="bool" name="config_adjustableNotificationLedBrightness" />
|
<java-symbol type="bool" name="config_adjustableNotificationLedBrightness" />
|
||||||
<java-symbol type="bool" name="config_multipleNotificationLeds" />
|
<java-symbol type="bool" name="config_multipleNotificationLeds" />
|
||||||
|
<java-symbol type="bool" name="config_useSegmentedBatteryLed" />
|
||||||
|
|
||||||
<!-- Quick Settings tile defaults -->
|
<!-- Quick Settings tile defaults -->
|
||||||
<java-symbol type="string" name="config_defaultQuickSettingsTiles" />
|
<java-symbol type="string" name="config_defaultQuickSettingsTiles" />
|
||||||
|
|
Loading…
Reference in New Issue