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

Commit 79c34b4d authored by Randy Pfohl's avatar Randy Pfohl 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 main
parents f9aa2a4a fca7ee23
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5164,6 +5164,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(