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

This commit is contained in:
TreeHugger Robot
2021-04-17 01:35:35 +00:00
committed by Android (Google) Code Review
@@ -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 {