Skip to content

Commit

Permalink
Update deviceHardwareKeys
Browse files Browse the repository at this point in the history
Change-Id: I1f1623d263fff928c6cb91527b05a20aca997040
  • Loading branch information
BigMajster committed Jan 9, 2015
1 parent 59b894e commit dc62013
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 dc62013

Please sign in to comment.