Merge "When mLastComputedTaskSize is empty we will recalculate and set it before determining scale and pivot" into 24D1-dev
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user