klte-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 Change-Id: Ia813cdd0596ece07ff38e1087d9cdf9e135f20be
This commit is contained in:
parent
2e4fb8b3fd
commit
5a176177c4
|
@ -50,12 +50,6 @@
|
|||
config to 7. -->
|
||||
<integer name="config_deviceHardwareWakeKeys">65</integer>
|
||||
|
||||
<!-- Is the battery LED intrusive? Used to decide if there should be a disable option -->
|
||||
<bool name="config_intrusiveBatteryLed">true</bool>
|
||||
|
||||
<!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
|
||||
<bool name="config_intrusiveNotificationLed">true</bool>
|
||||
|
||||
<!-- Enable blur support -->
|
||||
<bool name="config_uiBlurEnabled">true</bool>
|
||||
|
||||
|
|
|
@ -23,14 +23,16 @@
|
|||
|
||||
LIGHTS_RGB_NOTIFICATION_LED = 1
|
||||
LIGHTS_RGB_BATTERY_LED = 2
|
||||
LIGHTS_MULTIPLE_NOTIFICATION_LED = 4
|
||||
LIGHTS_MULTIPLE_NOTIFICATION_LED = 4 (deprecated)
|
||||
LIGHTS_PULSATING_LED = 8
|
||||
LIGHTS_SEGMENTED_BATTERY_LED = 16
|
||||
LIGHTS_ADJUSTABLE_NOTIFICATION_LED_BRIGHTNESS = 32
|
||||
LIGHTS_BATTERY_LED = 64
|
||||
|
||||
For example, a device support pulsating, RGB notification and
|
||||
battery LEDs would set this config to 11. -->
|
||||
<integer name="config_deviceLightCapabilities">11</integer>
|
||||
For example, a device with notification and battery lights
|
||||
that support pulsating and RGB control would set this config
|
||||
to 75. -->
|
||||
<integer name="config_deviceLightCapabilities">75</integer>
|
||||
|
||||
<!-- BurnIn protection. This should be enabled on devices that have OLED displays -->
|
||||
<bool name="config_enableBurnInProtection">true</bool>
|
||||
|
|
|
@ -238,6 +238,9 @@
|
|||
<!-- Indicate whether the SD card is accessible without removing the battery. -->
|
||||
<bool name="config_batterySdCardAccessibility">true</bool>
|
||||
|
||||
<!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
|
||||
<bool name="config_intrusiveNotificationLed">true</bool>
|
||||
|
||||
<!-- Control the behavior when the user long presses the home button
|
||||
0 - Nothing
|
||||
1 - Menu key
|
||||
|
|
Loading…
Reference in New Issue