diff options
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 3eb273e..c408dbf 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -142,7 +142,7 @@ <!-- Minimum screen brightness allowed by the power manager. --> <integer name="config_screenBrightnessDim">29</integer> - <!-- Hardware 'face' keys present on the device, stored as a bit field. + <!-- Hardware 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 @@ -150,14 +150,27 @@ 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">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> <!-- Boolean to enable stylus gestures --> <bool name="config_stylusGestures">true</bool> - <!-- Disable lockscreen translucent decor by default --> - <bool name="config_enableLockScreenTranslucentDecor">true</bool> - </resources> |