Merge "Check if the TaskView is a live tile task in task launch animation" into sc-dev am: d9efe3a79c

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

Change-Id: I0617d2c6d64f7f05bb5609a9acfa7da6a9201eda
This commit is contained in:
TreeHugger Robot
2021-04-17 01:56:59 +00:00
committed by Automerger Merge Worker
@@ -2944,7 +2944,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
}
mPendingAnimation.addEndListener(isSuccess -> {
if (isSuccess) {
if (LIVE_TILE.get()) {
if (LIVE_TILE.get() && tv.isRunningTask()) {
finishRecentsAnimation(false /* toRecents */, null);
onTaskLaunchAnimationEnd(true /* success */);
} else {