summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli B <abittin@gmail.com>2018-03-05 20:25:11 +0300
committerAli B <abittin@gmail.com>2018-03-06 09:34:29 +0000
commit20c633923d9800bc846ee386751e24536b1dd82a (patch)
tree9fb726dba960f31ab8f142caecdfee310587df40
parent3310deaf60311bb6c8d254ee151e0f9494369d50 (diff)
flo: adapt to DU hwkeys
Change-Id: Ic911ef6000147f345cae499877305d5ac3e37986
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index cb3e320..afe0b01 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -277,4 +277,18 @@
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
in hardware. -->
<bool name="config_setColorTransformAccelerated">true</bool>
+
+ <!-- Hardware 'face' keys present on the device, stored as a bit field.
+ This integer should equal the sum of the corresponding value for each
+ of the following keys present:
+ 1 - Home
+ 2 - Back
+ 4 - Menu
+ 8 - Assistant (search)
+ 16 - App switch
+ 32 - Camera
+ 64 - Volume rocker
+ For example, a device with Home, Back and Menu keys would set this
+ config to 7. -->
+ <integer name="config_deviceHardwareKeys">64</integer>
</resources>