From d887b561834bbf9dee3c98b835fcd7c691657834 Mon Sep 17 00:00:00 2001 From: Vinit Nayak Date: Fri, 16 Sep 2022 16:45:50 -0700 Subject: [PATCH] Reset TaskView transformations on orientationHandler change * Transformations in the old orientation handler (ex. translate X for portrait) aren't reset when device changes to fake landscape (starts modifying translate Y). The new translations are picked up correctly, this resets the old ones. Test: Bug no longer repros. Rotated device while scrolling through tasks, no change in behavior from before. Can't think of other instances where tasks are in motion and orientation handler can change. Fixes: 233316942 Change-Id: Ie07340e69a2c93b71b1dabb8029c96ad05a4d4a1 --- quickstep/src/com/android/quickstep/views/RecentsView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index 28a358e1c6..b7c6e6b275 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -1771,6 +1771,7 @@ public abstract class RecentsView