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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15853770

Change-Id: I8ce07305eaa7ccfd371202ec6b4d6fd3a2a19cb0
This commit is contained in:
Chris Li
2021-09-22 00:22:36 +00:00
committed by Automerger Merge Worker

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());