Merge "Support 4-finger gesture to quick switch" into udc-dev

This commit is contained in:
Tracy Zhou
2023-04-25 18:21:37 +00:00
committed by Android (Google) Code Review
7 changed files with 101 additions and 28 deletions
@@ -2064,8 +2064,8 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
mRecentsView.setRecentsAnimationTargets(mRecentsAnimationController,
mRecentsAnimationTargets));
// Disable scrolling in RecentsView for trackpad gestures.
if (!mGestureState.isTrackpadGesture()) {
// Disable scrolling in RecentsView for trackpad 3-finger swipe up gesture.
if (!mGestureState.isThreeFingerTrackpadGesture()) {
mRecentsViewScrollLinked = true;
}
}