Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 8cb03459 authored by Zhao Wei Liew's avatar Zhao Wei Liew Committed by Adrian DC
Browse files

Settings: display: Fix search indexing of high touch sensitivity

Mark the feature as non-indexable if it is *unsupported*,
not if it is supported.

RM-290

Change-Id: Ia1388044ec5944e1782f894ed0c6abe4b3e0c9e8
parent 248af71b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;