Merge "Null mRecentsAnimationController in the end" into sc-dev am: 5241e3ebc0

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14288953

Change-Id: I28308cc6e5919643357c6852fec715c4eafec2b1
This commit is contained in:
Tracy Zhou
2021-04-23 17:08:57 +00:00
committed by Automerger Merge Worker
@@ -3169,7 +3169,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
}
mRecentsAnimationController.finish(toRecents, () -> {
mRecentsAnimationController = null;
if (onFinishComplete != null) {
onFinishComplete.run();
}
@@ -3179,6 +3178,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
// typical example of this is (1) user swipes up from app to Overview (2) user
// taps on QSB (3) user goes back to Overview and launch the most recent task.
setCurrentTask(-1);
mRecentsAnimationController = null;
});
}