universal7580: overlay: Adapt to new button brightness configs
authorBruno Martins <bgcngm@gmail.com>
Fri, 30 Oct 2020 14:44:58 +0000 (15:44 +0100)
committerDanny Wood <danwood76@gmail.com>
Sun, 23 May 2021 13:01:43 +0000 (14:01 +0100)
Change-Id: I564106fd2d6eead070e59d32a2a357990fddaaf1

overlay/lineage-sdk/lineage/res/res/values/config.xml

index 98db1ae879159eb2e71fb064e4926b9e68085edc..d213bfec3c98bd1bf24f3fd0855cce2bb30b0b23 100644 (file)
         <item>restart_recovery</item>
         <item>restart_download</item>
      </string-array>
-</resources>
\ No newline at end of file
+
+    <!-- Button backlight control. Possible values are:
+            0 - Not supported
+            1 - Supported, but only on/off mode
+            2 - Supported with variable brightness control
+    -->
+    <integer name="config_deviceSupportsButtonBrightnessControl">1</integer>
+</resources>