Skip to content

Commit

Permalink
Merge "Update deviceHardwareKeys" into cm-12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarx2k authored and Gerrit Code Review committed Jan 18, 2015
2 parents fc91784 + dc62013 commit 13c6b04
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 @@ -252,9 +252,24 @@
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">1</integer>
<integer name="config_deviceHardwareKeys">65</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">1</integer>

<!-- Device supports LED flashlight
<bool name="config_enableTorch">true</bool> -->
Expand Down

0 comments on commit 13c6b04

Please sign in to comment.