aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedor917 <cryscript@gmail.com>2016-10-26 08:24:16 +0700
committerFedor917 <cryscript@gmail.com>2016-10-26 08:24:16 +0700
commit66d1161a64fc13bae606e2beea8b30fb6b32db92 (patch)
tree29690a35f1c6948b37960bcbcb1cf4b31a53c574
parent2fcb49709503094cf4d1cc023231b7047158de6c (diff)
Delete config for menu key.
Set Wake actions to Volume buttons and Home key.
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml20
1 files changed, 4 insertions, 16 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 1c9380f..70e9aaa 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -135,7 +135,7 @@
64 - Volume rocker
For example, a device with Home, Back and Menu keys would set this
config to 7. -->
- <integer name="config_deviceHardwareKeys">83</integer>
+ <integer name="config_deviceHardwareKeys">65</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
@@ -149,7 +149,7 @@
64 - Volume rocker
For example, a device with Home, Back and Menu keys would set this
config to 7. -->
- <integer name="config_deviceHardwareWakeKeys">64</integer>
+ <integer name="config_deviceHardwareWakeKeys">65</integer>
<!-- Control the behavior when the user long presses the home button.
0 - Nothing
@@ -161,19 +161,7 @@
This needs to match the constants in
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
-->
- <integer name="config_longPressOnHomeBehavior">1</integer>
-
- <!-- Control the behavior when the user long presses the menu button.
- 0 - Nothing
- 1 - Menu key
- 2 - Recent apps view in SystemUI
- 3 - Launch assist intent
- 4 - Voice Search
- 5 - In-app Search
- This needs to match the constants in
- policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
- -->
- <integer name="config_longPressOnMenuBehavior">3</integer>
+ <integer name="config_longPressOnHomeBehavior">2</integer>
<!-- Control the behavior when the user double-taps the home button.
0 - Nothing
@@ -185,7 +173,7 @@
This needs to match the constants in
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
-->
- <integer name="config_doubleTapOnHomeBehavior">0</integer>
+ <integer name="config_doubleTapOnHomeBehavior">1</integer>
<!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
<bool translatable="false" name="config_wifi_dual_band_support">true</bool>