From ef45cc95b5868f24e824216cc2d5d37d653d40be Mon Sep 17 00:00:00 2001 From: Tracy Zhou Date: Sun, 21 Mar 2021 11:40:33 -0700 Subject: [PATCH] Support live tile with OVERVIEW_GRID Test: turn on both ENABLE_QUICKSTEP_LIVE_TILE and OVERVIEW_GRID. Swipe up from app to overview Fixes: 183231362 Change-Id: Ic918e1fad423295d532cefce13c85e622ff8116c --- quickstep/src/com/android/quickstep/views/RecentsView.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index 7adfc1c780..f216985a94 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -1018,6 +1018,7 @@ public abstract class RecentsView extends PagedView mLiveTileTaskViewSimulator.taskSecondaryTranslation.value = 0; mLiveTileTaskViewSimulator.fullScreenProgress.value = 0; mLiveTileTaskViewSimulator.recentsViewScale.value = 1; + mLiveTileTaskViewSimulator.gridProgress.value = 0; } if (mRunningTaskTileHidden) { setRunningTaskHidden(mRunningTaskTileHidden); @@ -1740,6 +1741,7 @@ public abstract class RecentsView extends PagedView for (int i = 0; i < taskCount; i++) { getTaskViewAt(i).setGridProgress(gridProgress); } + mLiveTileTaskViewSimulator.gridProgress.value = gridProgress; mClearAllButton.setGridProgress(gridProgress); }