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
|
@Override
|
||||||
public int getAvailabilityStatus() {
|
public int getAvailabilityStatus() {
|
||||||
boolean isTouchpad = InputPeripheralsSettingsUtils.isTouchpad();
|
return InputPeripheralsSettingsUtils.isTouchpad() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE;
|
||||||
return (InputSettings.isTouchpadTapDraggingFeatureFlagEnabled() && isTouchpad)
|
|
||||||
? AVAILABLE : CONDITIONALLY_UNAVAILABLE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user