Merge "Force update orientation handler for initial recents view state." into tm-dev am: e7b727e88e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17658703 Change-Id: Iad5a0e66ae5d7c8ae7127a1278b2e0a50803a21e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user