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

Commit e628248b authored by Harry Cutts's avatar Harry Cutts
Browse files

Touchpad: remove tap dragging flag

This feature has now launched, so we can remove the flag.

Bug: 349562564
Test: toggle tap dragging setting, check tap dragging works when it's
      enabled but not when it's disabled
Flag: EXEMPT removing com.android.hardware.input.touchpad_tap_dragging
Change-Id: I6454b57b97f93e5cccfafc784f3fdc63a16f80ed
parent 7c6a8a4f
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -49,9 +49,7 @@ public class TrackpadTapDraggingPreferenceController extends TogglePreferenceCon

    @Override
    public int getAvailabilityStatus() {
        boolean isTouchpad = InputPeripheralsSettingsUtils.isTouchpad();
        return (InputSettings.isTouchpadTapDraggingFeatureFlagEnabled() && isTouchpad)
                ? AVAILABLE : CONDITIONALLY_UNAVAILABLE;
        return InputPeripheralsSettingsUtils.isTouchpad() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE;
    }

    @Override