Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7b727e8 authored by Alex Chau's avatar Alex Chau Committed by Android (Google) Code Review
Browse files

Merge "Force update orientation handler for initial recents view state." into tm-dev

parents 6b6d9c7e 671d44b3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);