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

* commit '806a25a51573377f35445a55fe89782f7603da61':
  Fixing an issue with leaking starting windows. (Bug 17657878)
This commit is contained in:
Winson Chung
2014-10-01 17:01:50 +00:00
committed by Android Git Automerger

View File

@@ -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;