From 9a14d08987a2cf32eb67ac1fd16a4edd9d6e7eda Mon Sep 17 00:00:00 2001 From: Tracy Zhou Date: Fri, 16 Apr 2021 17:08:46 -0700 Subject: [PATCH] Redraw live tile when dismissing all tasks Fixes: 185309909 Test: manual Change-Id: Ibfa4e5eaddfff79cffc76b272be35f726cb2bc9a --- .../android/quickstep/views/RecentsView.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index c5deeded8a..027812f78e 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -2024,6 +2024,16 @@ public abstract class RecentsView { + mLiveTileTaskViewSimulator.taskSecondaryTranslation.value = + mOrientationHandler.getSecondaryValue( + taskView.getTranslationX(), + taskView.getTranslationY()); + redrawLiveTile(); + }); + } } public PendingAnimation createTaskDismissAnimation(TaskView taskView, boolean animateTaskView, @@ -2112,16 +2122,6 @@ public abstract class RecentsView { - mLiveTileTaskViewSimulator.taskSecondaryTranslation.value = - mOrientationHandler.getSecondaryValue( - taskView.getTranslationX(), - taskView.getTranslationY()); - redrawLiveTile(); - }); - } - // Add a tiny bit of translation Z, so that it draws on top of other views if (animateTaskView) { taskView.setTranslationZ(0.1f);