From ddc33d634452f664bcb15be22d336694dfaef0cd Mon Sep 17 00:00:00 2001 From: Tracy Zhou Date: Fri, 16 Apr 2021 16:35:42 -0700 Subject: [PATCH] Check if the TaskView is a live tile task in task launch animation Fixes: 185540107 Test: manual Change-Id: I7f1503d8ac6dee4c153a60d5f72fae9a37f1c387 --- quickstep/src/com/android/quickstep/views/RecentsView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index c5deeded8a..08889b111b 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -2944,7 +2944,7 @@ public abstract class RecentsView { if (isSuccess) { - if (LIVE_TILE.get()) { + if (LIVE_TILE.get() && tv.isRunningTask()) { finishRecentsAnimation(false /* toRecents */, null); onTaskLaunchAnimationEnd(true /* success */); } else {