aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxyyx <xyyx@mail.ru>2016-02-13 21:48:38 +0800
committerxyyx <xyyx@mail.ru>2016-02-13 21:48:38 +0800
commit6ba07fa53b059a4774c02375a822ef802569756e (patch)
tree0f961e392aa864cf61762be73b83b406795b3e17
parent3c8d071d7df3e32da1afc9642346f879646eb365 (diff)
Add deviceHardware overlay
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml13
1 files changed, 13 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 5f87d89..bca56f5 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -324,4 +324,17 @@
<!-- Enable doze powersaving mode -->
<bool name="config_enableAutoPowerModes">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
+ 64 - Volume rocker
+ For example, a device with Home, Back and Menu keys would set this
+ config to 7. -->
+ <integer name="config_deviceHardwareKeys">71</integer>
</resources>