From eb0bd0ac808f45a2e03d0379fb5f08199622207a Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Tue, 5 Jun 2018 21:37:37 +0200 Subject: [PATCH] msm8976-common: overlay: Update config_deviceLightCapabilities comment Change-Id: I7e1c26cb9215be45793cf1d7995a2df80c8477c1 --- .../lineage/res/res/values/config.xml | 36 ++++++++++++++++--- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml index 84dea0e..2fc420b 100644 --- a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml +++ b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml @@ -1,6 +1,7 @@ - + // Device has a battery light. + LIGHTS_BATTERY_LED = 64 + + // The battery light supports HAL adjustable brightness via + // the alpha channel. + // Note: if a device battery light supports LIGHTS_RGB_BATTERY_LED then HAL + // support is not necessary for brightness control. In this case, + // brightness support will be provided by lineage-sdk through the scaling of + // RGB color values. + LIGHTS_ADJUSTABLE_BATTERY_LED_BRIGHTNESS = 128 + + For example, a device with notification and battery lights that supports + pulsating and RGB control would set this config to 75. --> 0