Advertisement
Guest User

Untitled

a guest
Jan 26th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. <!-- Control the behavior when the user long presses the home button.
  2. 0 - Nothing
  3. 1 - Menu key
  4. 2 - Recent apps view in SystemUI
  5. 3 - Launch assist intent
  6. 4 - Voice Search
  7. 5 - In-app Search
  8. This needs to match the constants in
  9. policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
  10. -->
  11. <integer name="config_longPressOnHomeBehavior">2</integer>
  12.  
  13. <!-- Control the behavior when the user double-taps the home button.
  14. 0 - Nothing
  15. 1 - Menu key
  16. 2 - Recent apps view in SystemUI
  17. 3 - Launch assist intent
  18. 4 - Voice Search
  19. 5 - In-app Search
  20. This needs to match the constants in
  21. policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
  22. -->
  23. <integer name="config_doubleTapOnHomeBehavior">0</integer>
  24.  
  25. <!-- Control the behavior when the user long presses the menu button.
  26. 0 - Nothing
  27. 1 - Menu key
  28. 2 - Recent apps view in SystemUI
  29. 3 - Launch assist intent
  30. 4 - Voice Search
  31. 5 - In-app Search
  32. This needs to match the constants in
  33. policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
  34. -->
  35. <integer name="config_longPressOnMenuBehavior">3</integer>
  36.  
  37. <!-- Hardware keys present on the device, stored as a bit field.
  38. This integer should equal the sum of the corresponding value for each
  39. of the following keys present:
  40. 1 - Home
  41. 2 - Back
  42. 4 - Menu
  43. 8 - Assistant (search)
  44. 16 - App switch
  45. 32 - Camera
  46. 64 - Volume rocker
  47. For example, a device with Home, Back and Menu keys would set this
  48. config to 7. -->
  49. <integer name="config_deviceHardwareKeys">79</integer>
  50.  
  51. <!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
  52. This integer should equal the sum of the corresponding value for each
  53. of the following keys present:
  54. 1 - Home
  55. 2 - Back
  56. 4 - Menu
  57. 8 - Assistant (search)
  58. 16 - App switch
  59. 32 - Camera
  60. 64 - Volume rocker
  61. For example, a device with Home, Back and Menu keys would set this
  62. config to 7. -->
  63. <integer name="config_deviceHardwareWakeKeys">79</integer>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement