summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Tunstall <ptunstall@gmail.com>2012-06-04 21:14:59 +0100
committerPhil Tunstall <ptunstall@gmail.com>2012-06-04 21:18:38 +0100
commite567b1676d6c0e2e99f94dfcce654adb4a32cca3 (patch)
tree16013cf41c1f8b72c01022f6661fa532e55569e7
parentd4757d896543c148636eef96a6b4a9682a9967d7 (diff)
downloaddevice_samsung_n7000-e567b1676d6c0e2e99f94dfcce654adb4a32cca3.zip
device_samsung_n7000-e567b1676d6c0e2e99f94dfcce654adb4a32cca3.tar.gz
device_samsung_n7000-e567b1676d6c0e2e99f94dfcce654adb4a32cca3.tar.bz2
n7000: Enable long-press menu key to search
Sets the device's hardware keys in the config.xml overlay, enabling this feature Framework part - http://review.cyanogenmod.com/16251 Change-Id: I71613c804031436156740d0aedb7e9a184b69e49
-rwxr-xr-xoverlay/frameworks/base/core/res/res/values/config.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index e6b5cf5..23e7434 100755
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -215,4 +215,16 @@
<!-- Workaround for devices with broken keyboards -->
<bool name="config_forceDisableHardwareKeyboard">true</bool>
+ <!-- Hardware 'face' 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 - Search
+ 16 - App switch
+ For example, a device with Home, Back and Menu keys would set this
+ config to 7. -->
+ <integer name="config_deviceHardwareKeys">7</integer>
+
</resources>