From c91aad150c79937fce7cfce66300e120a9306fbd Mon Sep 17 00:00:00 2001 From: randypfohl Date: Thu, 7 Mar 2024 12:07:24 -0800 Subject: [PATCH] When mLastComputedTaskSize is empty we will recalculate and set it before determining scale and pivot Bug: 326550571 Test: manually set computed task size to 0 simulating unset circumstance, and ran logs verifying infinite, added fix, and verified logs showing the same scale before and after with get tasksize set Flag: none (cherry picked from commit fca7ee23ba35c35292e6f26ca051cd64c437ca27) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9c4039e12dbc20dabf1d7e62b06bfd650706eaa7) Merged-In: I0f928885e2fc6cfc0d6a064d6e9f1c614bf7a5af Change-Id: I0f928885e2fc6cfc0d6a064d6e9f1c614bf7a5af --- quickstep/src/com/android/quickstep/views/RecentsView.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index 6699147136..2cbeb31fbd 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -5164,6 +5164,9 @@ public abstract class RecentsView