From db34fba43fa73a5979f211148d6b414d5d1f4c70 Mon Sep 17 00:00:00 2001 From: Tony Wickham Date: Mon, 13 Dec 2021 23:36:11 +0000 Subject: [PATCH] Don't clobber in progress page transition in applyLoadPlan() Also only reloadIfNeeded() instead of always reloading in showCurrentTask(), which is called twice as the gesture starts and could contribute to jank. Test: quickly quick switch from app A to B, ensure no jumpcut back to A Bug: 205499708 Change-Id: I516020551d3f76eb4025df848bf4c88adf5499b7 --- .../com/android/quickstep/views/RecentsView.java | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index ed238d846f..aab33aa672 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -1383,7 +1383,7 @@ public abstract class RecentsView