summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2012-06-17 17:05:02 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2012-06-17 17:09:17 +0700
commit191efffaa4965f52ceb943b13ec14dde4e77fe9c (patch)
treecba056982b988fc69b468b956d8e3518c4776eae
parent581b26585db58ae3d7e0405f5778a42c632ed070 (diff)
downloaddevice_samsung_galaxysmtd-191efffaa4965f52ceb943b13ec14dde4e77fe9c.zip
device_samsung_galaxysmtd-191efffaa4965f52ceb943b13ec14dde4e77fe9c.tar.gz
device_samsung_galaxysmtd-191efffaa4965f52ceb943b13ec14dde4e77fe9c.tar.bz2
galaxysmtd: Long press menu as search
Change-Id: Ibc1b50f9c7cc681d9e60ebd0eedf8ac1924c9d2b
-rw-r--r--device.mk3
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml34
2 files changed, 37 insertions, 0 deletions
diff --git a/device.mk b/device.mk
index 1ba304b..e5039b5 100644
--- a/device.mk
+++ b/device.mk
@@ -35,6 +35,9 @@
# but not to the original vendor tree. Be sure to update both.
# These are the hardware-specific configuration files
+DEVICE_PACKAGE_OVERLAYS += \
+ device/samsung/galaxysmtd/overlay
+
PRODUCT_COPY_FILES := \
device/samsung/galaxysmtd/asound.conf:system/etc/asound.conf
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 0000000..bfd584d
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2009, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<!-- These resources are around just to allow their values to be customized
+ for different hardware and product builds. -->
+<resources>
+ <!-- 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>