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

Commit 5bdca26a authored by Lynn Yeh's avatar Lynn Yeh Committed by Android (Google) Code Review
Browse files

Merge "When mLastComputedTaskSize is empty we will recalculate and set it...

Merge "When mLastComputedTaskSize is empty we will recalculate and set it before determining scale and pivot" into 24D1-dev
parents 50d2fad5 c91aad15
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5171,6 +5171,9 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
                && !mOverviewGridEnabled) {
            mTempRect.set(mLastComputedCarouselTaskSize);
        } else {
            if (mLastComputedTaskSize.height() == 0 || mLastComputedTaskSize.width() == 0) {
                getTaskSize(mLastComputedTaskSize);
            }
            mTempRect.set(mLastComputedTaskSize);
        }
        return getPagedViewOrientedState().getFullScreenScaleAndPivot(