summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorZhao Wei Liew <zhaoweiliew@gmail.com>2016-10-08 12:58:56 +0800
committerZhao Wei Liew <zhaoweiliew@gmail.com>2016-10-08 06:20:07 -0700
commit345b425f13e4d0912d39b1e1e5dcb2fd44f32fa1 (patch)
tree5948491163c134a4ae5f7a9a5c8177fb42c6fb48 /src/com
parent5369e1434a792c91202c3a0f7bd66dd9db970a37 (diff)
downloadpackages_apps_Settings-345b425f13e4d0912d39b1e1e5dcb2fd44f32fa1.zip
packages_apps_Settings-345b425f13e4d0912d39b1e1e5dcb2fd44f32fa1.tar.gz
packages_apps_Settings-345b425f13e4d0912d39b1e1e5dcb2fd44f32fa1.tar.bz2
Settings: display: Fix search indexing of high touch sensitivity
Mark the feature as non-indexable if it is *unsupported*, not if it is supported. Change-Id: Ia1388044ec5944e1782f894ed0c6abe4b3e0c9e8
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/settings/DisplaySettings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/DisplaySettings.java b/src/com/android/settings/DisplaySettings.java
index a434e97..47efd2f 100644
--- a/src/com/android/settings/DisplaySettings.java
+++ b/src/com/android/settings/DisplaySettings.java
@@ -854,7 +854,7 @@ public class DisplaySettings extends SettingsPreferenceFragment implements
if (!isCameraGestureAvailable(context.getResources())) {
result.add(KEY_CAMERA_GESTURE);
}
- if (hardware.isSupported(CMHardwareManager.FEATURE_HIGH_TOUCH_SENSITIVITY)) {
+ if (!hardware.isSupported(CMHardwareManager.FEATURE_HIGH_TOUCH_SENSITIVITY)) {
result.add(KEY_HIGH_TOUCH_SENSITIVITY);
}
return result;