Loading quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java +7 −1 Original line number Original line Diff line number Diff line Loading @@ -1381,11 +1381,17 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>, /** /** * Cancels any running animation so that the active target can be overriden by a new swipe * Cancels any running animation so that the active target can be overriden by a new swipe * handle (in case of quick switch). * handler (in case of quick switch). */ */ private void cancelCurrentAnimation() { private void cancelCurrentAnimation() { mCanceled = true; mCanceled = true; mCurrentShift.cancelAnimation(); mCurrentShift.cancelAnimation(); // Cleanup when switching handlers mInputConsumerProxy.unregisterCallback(); mActivityInitListener.unregister(); ActivityManagerWrapper.getInstance().unregisterTaskStackListener(mActivityRestartListener); mTaskSnapshot = null; } } private void invalidateHandler() { private void invalidateHandler() { Loading Loading
quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java +7 −1 Original line number Original line Diff line number Diff line Loading @@ -1381,11 +1381,17 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>, /** /** * Cancels any running animation so that the active target can be overriden by a new swipe * Cancels any running animation so that the active target can be overriden by a new swipe * handle (in case of quick switch). * handler (in case of quick switch). */ */ private void cancelCurrentAnimation() { private void cancelCurrentAnimation() { mCanceled = true; mCanceled = true; mCurrentShift.cancelAnimation(); mCurrentShift.cancelAnimation(); // Cleanup when switching handlers mInputConsumerProxy.unregisterCallback(); mActivityInitListener.unregister(); ActivityManagerWrapper.getInstance().unregisterTaskStackListener(mActivityRestartListener); mTaskSnapshot = null; } } private void invalidateHandler() { private void invalidateHandler() { Loading