Revert "Dispatch TaskOrg events before finishing surface placement"
This reverts commit 805cfed058.
Reason for revert: Seems to break https://b/179460794 and http://b/179457563 (PackageInstaller)
Change-Id: Ibb9ffb8074717401ce8a836d2832acb7dfa0b624
This commit is contained in:
@@ -846,8 +846,6 @@ class RootWindowContainer extends WindowContainer<DisplayContent>
|
||||
Slog.i(TAG,
|
||||
">>> 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");
|
||||
mWmService.openSurfaceTransaction();
|
||||
try {
|
||||
@@ -864,6 +862,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();
|
||||
|
||||
checkAppTransitionReady(surfacePlacer);
|
||||
|
||||
Reference in New Issue
Block a user