Skip to content

Commit c12f574

Browse files
Winson ChungAndroid (Google) Code Review
authored andcommitted
Merge "Fixing an issue with leaking starting windows. (Bug 17657878)" into lmp-dev
2 parents 4fb4163 + c11b19c commit c12f574

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

services/core/java/com/android/server/wm/WindowManagerService.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9099,6 +9099,11 @@ public int handleAppTransitionReadyLocked(WindowList windows) {
90999099
// gotten drawn.
91009100
wtoken.allDrawn = true;
91019101
wtoken.deferClearAllDrawn = false;
9102+
// Ensure that apps that are mid-starting are also scheduled to have their
9103+
// starting windows removed after the animation is complete
9104+
if (wtoken.startingWindow != null && !wtoken.startingWindow.mExiting) {
9105+
scheduleRemoveStartingWindow(wtoken);
9106+
}
91029107

91039108
if (animLp != null) {
91049109
int layer = -1;

0 commit comments

Comments
 (0)