Loading quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java +5 −2 Original line number Original line Diff line number Diff line Loading @@ -387,8 +387,11 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>, mGestureState.runOnceAtState(STATE_RECENTS_ANIMATION_CANCELED, () -> { mGestureState.runOnceAtState(STATE_RECENTS_ANIMATION_CANCELED, () -> { ThumbnailData snapshot = mGestureState.consumeRecentsAnimationCanceledSnapshot(); ThumbnailData snapshot = mGestureState.consumeRecentsAnimationCanceledSnapshot(); if (snapshot != null) { if (snapshot != null) { mRecentsView.switchToScreenshot(snapshot, mRecentsView.switchToScreenshot(snapshot, () -> { () -> mRecentsAnimationController.cleanupScreenshot()); if (mRecentsAnimationController != null) { mRecentsAnimationController.cleanupScreenshot(); } }); mRecentsView.onRecentsAnimationComplete(); mRecentsView.onRecentsAnimationComplete(); } } }); }); Loading Loading
quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java +5 −2 Original line number Original line Diff line number Diff line Loading @@ -387,8 +387,11 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>, mGestureState.runOnceAtState(STATE_RECENTS_ANIMATION_CANCELED, () -> { mGestureState.runOnceAtState(STATE_RECENTS_ANIMATION_CANCELED, () -> { ThumbnailData snapshot = mGestureState.consumeRecentsAnimationCanceledSnapshot(); ThumbnailData snapshot = mGestureState.consumeRecentsAnimationCanceledSnapshot(); if (snapshot != null) { if (snapshot != null) { mRecentsView.switchToScreenshot(snapshot, mRecentsView.switchToScreenshot(snapshot, () -> { () -> mRecentsAnimationController.cleanupScreenshot()); if (mRecentsAnimationController != null) { mRecentsAnimationController.cleanupScreenshot(); } }); mRecentsView.onRecentsAnimationComplete(); mRecentsView.onRecentsAnimationComplete(); } } }); }); Loading