summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilaksidduram <tilaksidduram@gmail.com>2014-12-23 00:09:14 +0530
committertilaksidduram <tilaksidduram@gmail.com>2014-12-25 09:22:47 +0530
commit9897de1a719b2863e89fcc955a9350898a3d6071 (patch)
tree5363cdbefdd5081a16e308cd3ebd34f061d18c9e
parent4ddd83a3a224e440597eafbb1272e426c06c9de4 (diff)
downloaddevice_samsung_n7100-9897de1a719b2863e89fcc955a9350898a3d6071.zip
device_samsung_n7100-9897de1a719b2863e89fcc955a9350898a3d6071.tar.gz
device_samsung_n7100-9897de1a719b2863e89fcc955a9350898a3d6071.tar.bz2
n7100: Update hardware keys overlay
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml17
1 files changed, 16 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 5e3cb4e..df2e599 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -226,9 +226,24 @@
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">7</integer>
+ <integer name="config_deviceHardwareKeys">71</integer>
+
+ <!-- Hardware keys present on the device with the ability to wake, 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_deviceHardwareWakeKeys">65</integer>
<!-- Is the device LTE capable -->
<bool name="config_lte_capable">false</bool>