Skip to content

Commit

Permalink
mako: update config_deviceHardwareKeys
Browse files Browse the repository at this point in the history
The volume rocker is now considered as a key to be configured

Change-Id: I0a775d669924c9361c0b64280f9d9fe51ea765cc
  • Loading branch information
pawitp committed Dec 22, 2014
1 parent a3c5cdc commit 4d9a565
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion overlay/frameworks/base/core/res/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,24 @@
4 - Menu
8 - Assistant (search)
16 - App switch
64 - Volume rocker
For example, a device with Home, Back and Menu keys would set this
config to 7. -->
<integer name="config_deviceHardwareKeys">0</integer>
<integer name="config_deviceHardwareKeys">64</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">64</integer>

<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">4</integer>
Expand Down

0 comments on commit 4d9a565

Please sign in to comment.