summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2017-12-29 21:37:58 +0530
committerHemant Sharma <hemantbeast@gmail.com>2018-01-14 15:57:51 +0000
commit526126e83882b7a772e2382ae45cd926263577e3 (patch)
tree096bcde5d6b54986df4ab51725377a971fde1705
parent0e9480d5ea8895dbb13f7e8eb479e5e273e19b29 (diff)
armani: Update for moved hardware key overlays
* These have now been moved to the SDK Change-Id: I551ddc8c58ccd7184fddb1c615b15cce8127daad
-rw-r--r--overlay-lineage/frameworks/base/core/res/res/values/config.xml16
-rw-r--r--overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml15
2 files changed, 16 insertions, 15 deletions
diff --git a/overlay-lineage/frameworks/base/core/res/res/values/config.xml b/overlay-lineage/frameworks/base/core/res/res/values/config.xml
index f8b558f..329d023 100644
--- a/overlay-lineage/frameworks/base/core/res/res/values/config.xml
+++ b/overlay-lineage/frameworks/base/core/res/res/values/config.xml
@@ -30,22 +30,8 @@
5 - In-app Search
This needs to match the constants in
services/core/java/com/android/server/policy/policy/impl/PhoneWindowManager.java -->
-
- <integer name="config_longPressOnAppSwitchBehavior">1</integer>
- <!-- 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
- 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_deviceHardwareKeys">83</integer>
+ <integer name="config_longPressOnAppSwitchBehavior">1</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
diff --git a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml
index 674e216..759f8e4 100644
--- a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml
+++ b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml
@@ -31,4 +31,19 @@
that support pulsating and RGB control would set this config
to 75. -->
<integer name="config_deviceLightCapabilities" translatable="false">75</integer>
+
+ <!-- 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
+ 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_deviceHardwareKeys">83</integer>
+
</resources>