Merge "Do not set TaskFragment surface position if in change transition" into sc-v2-dev

This commit is contained in:
Chris Li
2021-09-22 00:13:41 +00:00
committed by Android (Google) Code Review

View File

@@ -2046,9 +2046,7 @@ class TaskFragment extends WindowContainer<WindowContainer> {
if (shouldStartChangeTransition(mTmpPrevBounds)) {
initializeChangeTransition(mTmpPrevBounds);
}
if (mTaskFragmentOrganizer != null) {
} else if (mTaskFragmentOrganizer != null) {
// Update the surface position here instead of in the organizer so that we can make sure
// it can be synced with the surface freezer.
updateSurfacePosition(getSyncTransaction());