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
This commit is contained in:
Harry Cutts
2024-10-21 16:10:36 +00:00
parent 7c6a8a4f42
commit e628248bab

View File

@@ -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