Merge "Touchpad: remove tap dragging flag" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
25ff6453fb
@@ -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
|
||||
|
Reference in New Issue
Block a user