Merge "Do not set TaskFragment surface position if in change transition" into sc-v2-dev
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