aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2018-01-02 16:00:33 +0100
committerDavide Garberi <dade.garberi@gmail.com>2018-01-02 16:00:33 +0100
commit44d6840448631098f2374f8d16ba53b7e34cb517 (patch)
tree6b9a5ab7065197381bfef66ffc78b7956349a692
parentd6c68523012362feb4d8988f526e0e6847727505 (diff)
msm8996-common: overlay-lineage: Add some missing overlays
* Still commented out until they will be added on Oreo Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
-rw-r--r--overlay-lineage/frameworks/base/core/res/res/values/config.xml49
1 files changed, 38 insertions, 11 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 9c1ed0f..9f2a2f0 100644
--- a/overlay-lineage/frameworks/base/core/res/res/values/config.xml
+++ b/overlay-lineage/frameworks/base/core/res/res/values/config.xml
@@ -17,17 +17,6 @@
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. Do not translate. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <!-- Control the behavior when the user long presses the app switch 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_longPressOnAppSwitchBehavior">1</integer-->
<!-- Support in Surfaceflinger for blur layers.
NOTE: This requires additional hardware-specific code. -->
@@ -47,6 +36,44 @@
config to 7. -->
<!--integer name="config_deviceHardwareKeys">95</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-->
+
+ <!-- Control the behavior when the user long presses the home 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_longPressOnHomeBehavior">2</integer-->
+
+ <!-- Control the behavior when the user double tap the home 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_doubleTapOnHomeBehavior">6</integer-->
+
<!-- Whether notify fingerprint client of successful cancelled authentication -->
<!--bool name="config_notifyClientOnFingerprintCancelSuccess">true</bool-->
</resources>