aboutsummaryrefslogtreecommitdiff
path: root/overlay
diff options
context:
space:
mode:
authorScott Mertz <scott@cyngn.com>2015-02-23 20:24:44 -0800
committerScott Mertz <scott@cyngn.com>2015-02-23 20:24:44 -0800
commit2008dffc74fcd1c2b235b416ecf07bfeacef1121 (patch)
treed5bd3e313985801de694470e846f3cd094477ace /overlay
parent578eb8f58e56f453c2e0ff03b80c76b0e9828887 (diff)
lettuce: supports hardware volume keys
Change-Id: Idf06d1c40c3c21055a405de4734c6e510016b4e0
Diffstat (limited to 'overlay')
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml15
1 files changed, 14 insertions, 1 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index bb9ce12..832ea1f 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -198,6 +198,20 @@
<!-- We dont have different firmware for wifi modes, prevent reloading it -->
<bool name="config_wifiApFirmwareReload">false</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 keys
+ For example, a device with Home, Back and Menu keys would set this
+ config to 7. -->
+ <integer name="config_deviceHardwareKeys">64</integer>
+
<!-- Control the behavior when the user long presses the home button.
0 - Nothing
1 - Menu key
@@ -258,7 +272,6 @@
<!-- Whether Multiuser UI should be shown -->
<bool name="config_enableMultiUserUI">true</bool>
- <integer name="config_deviceHardwareKeys">0</integer>
<!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
autodetected from the Configuration. -->
<bool name="config_showNavigationBar">true</bool>