msm8976-common: Update for moved hardware key overlays

* These have now been moved to the SDK

Change-Id: I551ddc8c58ccd7184fddb1c615b15cce8127daad
This commit is contained in:
Bruno Martins 2017-12-18 15:12:05 +00:00 committed by LuK1337
parent c22f31c686
commit 2849bf85b3
2 changed files with 40 additions and 40 deletions

View File

@ -17,46 +17,6 @@
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- 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>
<!-- 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 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
services/core/java/com/android/server/policy/policy/impl/PhoneWindowManager.java
-->
<integer name="config_longPressOnAppSwitchBehavior">1</integer>
<!-- Whether notify fingerprint client of successful cancelled authentication -->
<bool name="config_notifyClientOnFingerprintCancelSuccess">true</bool>
</resources>

View File

@ -31,4 +31,44 @@
battery LEDs would set this config to 11. -->
<integer name="config_deviceLightCapabilities">0</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>
<!-- 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 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
services/core/java/com/android/server/policy/policy/impl/PhoneWindowManager.java
-->
<integer name="config_longPressOnAppSwitchBehavior">1</integer>
</resources>