Disable quickswitch for trackpad gestures
Bug: 261815244 Test: make sure (1) if user starts by swiping up, disable quickswitch (they will land either in overview, home, or the current app) (2) if user starts by quick switching, cancel the gesture Change-Id: I6b59cec0089d5e6f22eee3241c6336345dd15dce
This commit is contained in:
@@ -2080,7 +2080,11 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
|
||||
runOnRecentsAnimationAndLauncherBound(() ->
|
||||
mRecentsView.setRecentsAnimationTargets(mRecentsAnimationController,
|
||||
mRecentsAnimationTargets));
|
||||
mRecentsViewScrollLinked = true;
|
||||
|
||||
// Disable scrolling in RecentsView for trackpad gestures.
|
||||
if (!mGestureState.isTrackpadGesture()) {
|
||||
mRecentsViewScrollLinked = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void onRecentsViewScroll() {
|
||||
|
||||
Reference in New Issue
Block a user