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

* commit 'cbb42d06c21a4875bfb5d0c5ff73ceae062356d0':
  Fixing an issue with leaking starting windows. (Bug 17657878)
This commit is contained in:
Winson Chung
2014-10-01 17:10:34 +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;