[automerge] Force update orientation handler for initial recents view state. 2p: 671d44b36b

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17658703

Bug: 228565696
Change-Id: I0b7360ea44d8076fd3c17348e173a6e66e0c0dc9
This commit is contained in:
Presubmit Automerger Backend
2022-04-11 02:55:17 +00:00
@@ -2073,6 +2073,9 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
if (mOrientationState.setGestureActive(true)) {
setLayoutRotation(rotationTouchHelper.getCurrentActiveRotation(),
rotationTouchHelper.getDisplayRotation());
// Force update to ensure the initial task size is computed even if the orientation has
// not changed.
updateSizeAndPadding();
}
showCurrentTask(runningTaskInfo);