aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Hexen <SyberHexen@gmail.com>2020-09-15 19:42:27 -0700
committerAndrew Hexen <SyberHexen@gmail.com>2020-09-15 19:52:34 -0700
commit7285d897f0c8783a756e68917d142f5235959079 (patch)
treeeae35634537a438d7b5a362bc75523ac6da66cc2
parentc83f5466af3fde2561f38cf9eadaa0f3a85d84fa (diff)
ocean: lineage-sdk: import device LED Capabilities from common.
* imported as of commit on sdm632-common - d67b67eb0ac92bb8b67c0399526c2e698f3c4e31 * Also set correctly config_deviceLightCapabilities as we don't have LIGHTS_SEGMENTED_BATTERY_LED = 16 Signed-off-by: Andrew Hexen <SyberHexen@gmail.com> Change-Id: I9208411c8692de5b1f96d203b47881f4579c1887
-rw-r--r--overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml17
1 files changed, 17 insertions, 0 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 f21e9a5..4c9cd66 100644
--- a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml
+++ b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml
@@ -12,6 +12,23 @@
limitations under the License.
-->
<resources>
+ <!-- All the capabilities of the LEDs on this device, stored as a bit field.
+ This integer should equal the sum of the corresponding value for each
+ of the following capabilities present:
+
+ LIGHTS_RGB_NOTIFICATION_LED = 1
+ LIGHTS_RGB_BATTERY_LED = 2
+ 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
+ LIGHTS_ADJUSTABLE_BATTERY_LED_BRIGHTNESS = 128
+
+ For example, a device support pulsating, RGB notification and
+ battery LEDs would set this config to 11. -->
+ <integer name="config_deviceLightCapabilities" translatable="false">232</integer>
+
<!-- Default value for proximity check on screen wake
NOTE ! - Enable for devices that have a fast response proximity sensor (ideally < 300ms)-->
<bool name="config_proximityCheckOnWake">true</bool>