msm8937-common: overlays: Update for new LED capabilities
*) frameworks/base bool config_intrusiveBatteryLed is no longer used so it has been removed. *) Use LIGHTS_BATTERY_LIGHT capability in lineage-sdk instead. *) Update config_deviceLightCapabilities comments *) Move bool config_intrusiveNotificationLed out of Lineage-specific overlays because it's an AOSP config
This commit is contained in:
parent
76f4890660
commit
9e4bbcbe3e
3 changed files with 10 additions and 10 deletions
|
@ -17,14 +17,9 @@
|
||||||
<!-- These resources are around just to allow their values to be customized
|
<!-- These resources are around just to allow their values to be customized
|
||||||
for different hardware and product builds. Do not translate. -->
|
for different hardware and product builds. Do not translate. -->
|
||||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||||
|
|
||||||
<integer name="config_buttonBrightnessSettingDefault">0</integer>
|
<integer name="config_buttonBrightnessSettingDefault">0</integer>
|
||||||
|
|
||||||
<!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
|
|
||||||
<bool name="config_intrusiveNotificationLed">true</bool>
|
|
||||||
|
|
||||||
<!-- Is the battery LED intrusive? Used to decide if there should be a disable option -->
|
|
||||||
<bool name="config_intrusiveBatteryLed">true</bool>
|
|
||||||
|
|
||||||
<!-- Hardware keys present on the device, stored as a bit field.
|
<!-- Hardware keys present on the device, stored as a bit field.
|
||||||
This integer should equal the sum of the corresponding value for each
|
This integer should equal the sum of the corresponding value for each
|
||||||
of the following keys present:
|
of the following keys present:
|
||||||
|
|
|
@ -27,12 +27,14 @@
|
||||||
|
|
||||||
LIGHTS_RGB_NOTIFICATION_LED = 1
|
LIGHTS_RGB_NOTIFICATION_LED = 1
|
||||||
LIGHTS_RGB_BATTERY_LED = 2
|
LIGHTS_RGB_BATTERY_LED = 2
|
||||||
LIGHTS_MULTIPLE_NOTIFICATION_LED = 4
|
LIGHTS_MULTIPLE_NOTIFICATION_LED = 4 (deprecated)
|
||||||
LIGHTS_PULSATING_LED = 8
|
LIGHTS_PULSATING_LED = 8
|
||||||
LIGHTS_SEGMENTED_BATTERY_LED = 16
|
LIGHTS_SEGMENTED_BATTERY_LED = 16
|
||||||
LIGHTS_ADJUSTABLE_NOTIFICATION_LED_BRIGHTNESS = 32
|
LIGHTS_ADJUSTABLE_NOTIFICATION_LED_BRIGHTNESS = 32
|
||||||
|
LIGHTS_BATTERY_LED = 64
|
||||||
|
|
||||||
For example, a device support pulsating, RGB notification and
|
For example, a device with notification and battery lights
|
||||||
battery LEDs would set this config to 11. -->
|
that support pulsating and RGB control would set this config
|
||||||
<integer name="config_deviceLightCapabilities" translatable="false">11</integer>
|
to 75. -->
|
||||||
|
<integer name="config_deviceLightCapabilities" translatable="false">75</integer>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
|
|
||||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||||
|
|
||||||
|
<!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
|
||||||
|
<bool name="config_intrusiveNotificationLed">true</bool>
|
||||||
|
|
||||||
<!-- Flag indicating whether the we should enable the automatic brightness in Settings.
|
<!-- Flag indicating whether the we should enable the automatic brightness in Settings.
|
||||||
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
|
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
|
||||||
<bool name="config_automatic_brightness_available">true</bool>
|
<bool name="config_automatic_brightness_available">true</bool>
|
||||||
|
|
Loading…
Reference in a new issue