From a9f728e57b66cff64637a13b62e974ebe320bd79 Mon Sep 17 00:00:00 2001 From: Tony Wickham Date: Mon, 19 Jul 2021 11:34:07 -1000 Subject: [PATCH] Continue loading visible task data when scrolling recents during anim to home When we go from overview to home, we scroll to page 0 so that all tasks end up offscreen. However, since we are already in NORMAL state, we previously ignored loadVisibleTaskData() for the tasks as they scrolled by. Instead, we now continue loading task data while the scroller is unfinished. Test: swipe to last recent task, swipe up to home, ensure thumbnails are still loaded as they scroll offscreen Bug: 192522519 Change-Id: Iba770200fc5dbdfc91dccda9a6b9c891ab6c5e3d --- quickstep/src/com/android/quickstep/views/RecentsView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index 6844f9f785..31cc747ad7 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -1542,7 +1542,8 @@ public abstract class RecentsView