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