Merge "Revert "Dispatch TaskOrg events before finishing surface placement"" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d43d8655c6
@@ -847,8 +847,6 @@ class RootWindowContainer extends WindowContainer<DisplayContent>
|
|||||||
Slog.i(TAG,
|
Slog.i(TAG,
|
||||||
">>> OPEN TRANSACTION performLayoutAndPlaceSurfaces");
|
">>> OPEN TRANSACTION performLayoutAndPlaceSurfaces");
|
||||||
}
|
}
|
||||||
// Send any pending task-info changes that were queued-up during a layout deferment
|
|
||||||
mWmService.mAtmService.mTaskOrganizerController.dispatchPendingEvents();
|
|
||||||
Trace.traceBegin(TRACE_TAG_WINDOW_MANAGER, "applySurfaceChanges");
|
Trace.traceBegin(TRACE_TAG_WINDOW_MANAGER, "applySurfaceChanges");
|
||||||
mWmService.openSurfaceTransaction();
|
mWmService.openSurfaceTransaction();
|
||||||
try {
|
try {
|
||||||
@@ -865,6 +863,8 @@ class RootWindowContainer extends WindowContainer<DisplayContent>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Send any pending task-info changes that were queued-up during a layout deferment
|
||||||
|
mWmService.mAtmService.mTaskOrganizerController.dispatchPendingEvents();
|
||||||
mWmService.mAnimator.executeAfterPrepareSurfacesRunnables();
|
mWmService.mAnimator.executeAfterPrepareSurfacesRunnables();
|
||||||
|
|
||||||
checkAppTransitionReady(surfacePlacer);
|
checkAppTransitionReady(surfacePlacer);
|
||||||
|
|||||||
Reference in New Issue
Block a user