Merge "Revert "Reland: Dispatch TaskOrg events before finishing surface placement"" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f53b71110d
@@ -847,8 +847,6 @@ class RootWindowContainer extends WindowContainer<DisplayContent>
|
||||
mWmService.openSurfaceTransaction();
|
||||
try {
|
||||
applySurfaceChangesTransaction();
|
||||
// Send any pending task-info changes that were queued-up during a layout deferment
|
||||
mWmService.mAtmService.mTaskOrganizerController.dispatchPendingEvents();
|
||||
mWmService.mSyncEngine.onSurfacePlacement();
|
||||
} catch (RuntimeException e) {
|
||||
Slog.wtf(TAG, "Unhandled exception in Window Manager", e);
|
||||
@@ -861,6 +859,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