mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Merge "Cancel animations after reading MotionPauseDetector#isPaused()" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
4d22811f76
@@ -324,7 +324,6 @@ public class NoButtonQuickSwitchTouchController implements TouchController,
|
||||
|
||||
@Override
|
||||
public void onDragEnd(PointF velocity) {
|
||||
cancelAnimations();
|
||||
boolean horizontalFling = mSwipeDetector.isFling(velocity.x);
|
||||
boolean verticalFling = mSwipeDetector.isFling(velocity.y);
|
||||
boolean noFling = !horizontalFling && !verticalFling;
|
||||
@@ -353,6 +352,7 @@ public class NoButtonQuickSwitchTouchController implements TouchController,
|
||||
return;
|
||||
}
|
||||
InteractionJankMonitorWrapper.cancel(Cuj.CUJ_LAUNCHER_APP_SWIPE_TO_RECENTS);
|
||||
cancelAnimations();
|
||||
|
||||
final LauncherState targetState;
|
||||
if (horizontalFling && verticalFling) {
|
||||
|
||||
Reference in New Issue
Block a user