am d8a0f458: am 0d05be3f: Merge change 22544 into eclair

Merge commit 'd8a0f458981037194841457422fd38c2dadb599d'

* commit 'd8a0f458981037194841457422fd38c2dadb599d':
  Fix bug that would leave old windows around.
This commit is contained in:
Dianne Hackborn
2009-08-24 20:25:49 -07:00
committed by Android Git Automerger

View File

@@ -8850,6 +8850,7 @@ public class WindowManagerService extends IWindowManager.Stub
"Now opening app" + wtoken);
wtoken.reportedVisible = false;
wtoken.inPendingTransaction = false;
wtoken.animation = null;
setTokenVisibilityLocked(wtoken, lp, true, transit, false);
wtoken.updateReportedVisibilityLocked();
wtoken.showAllWindowsLocked();
@@ -8860,6 +8861,7 @@ public class WindowManagerService extends IWindowManager.Stub
if (DEBUG_APP_TRANSITIONS) Log.v(TAG,
"Now closing app" + wtoken);
wtoken.inPendingTransaction = false;
wtoken.animation = null;
setTokenVisibilityLocked(wtoken, lp, false, transit, false);
wtoken.updateReportedVisibilityLocked();
// Force the allDrawn flag, because we want to start