From 671d44b36b1911187dace598b2be7bc4347269b9 Mon Sep 17 00:00:00 2001 From: wilsonshih Date: Fri, 8 Apr 2022 21:10:53 +0800 Subject: [PATCH] Force update orientation handler for initial recents view state. Force execute updateSizeAndPadding at onGestureAnimationStart to ensure there has computed the initial task size even if orientation didn't changed. Bug: 228565696 Test: run "atest NexusLauncherTests" on tablet device. Change-Id: I175754a68e91039dffdfd4035414885417882a07 --- 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 52aad27e5f..de79003850 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -2092,6 +2092,9 @@ public abstract class RecentsView