Merge "Reland: Dispatch TaskOrg events before finishing surface placement" into sc-dev
This commit is contained in:
@@ -847,6 +847,8 @@ 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);
|
||||
@@ -859,8 +861,6 @@ 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