Merge "Don't handle task appeared during second quick switch transition" into ub-launcher3-rvc-dev

This commit is contained in:
TreeHugger Robot 2020-05-13 03:35:23 +00:00 committed by Android (Google) Code Review
commit 75dcd82a67
1 changed files with 1 additions and 1 deletions

View File

@ -724,7 +724,7 @@ public class LauncherSwipeHandler extends BaseSwipeUpHandler<Launcher, RecentsVi
if (mStateCallback.hasStates(STATE_HANDLER_INVALIDATED)) {
return false;
}
if (mGestureState.getEndTarget() == NEW_TASK
if (mStateCallback.hasStates(STATE_START_NEW_TASK)
&& appearedTaskTarget.taskId == mGestureState.getLastStartedTaskId()) {
reset();
return true;