Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 806a25a5 authored by Winson Chung's avatar Winson Chung Committed by Android Git Automerger
Browse files

am 53c7483d: am c12f5745: Merge "Fixing an issue with leaking starting...

am 53c7483d: am c12f5745: Merge "Fixing an issue with leaking starting windows. (Bug 17657878)" into lmp-dev

* commit '53c7483d':
  Fixing an issue with leaking starting windows. (Bug 17657878)
parents c139a41c 53c7483d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -9099,6 +9099,11 @@ public class WindowManagerService extends IWindowManager.Stub
                // gotten drawn.
                wtoken.allDrawn = true;
                wtoken.deferClearAllDrawn = false;
                // Ensure that apps that are mid-starting are also scheduled to have their
                // starting windows removed after the animation is complete
                if (wtoken.startingWindow != null && !wtoken.startingWindow.mExiting) {
                    scheduleRemoveStartingWindow(wtoken);
                }

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