Merge change 22544 into eclair
* changes: Fix bug that would leave old windows around.
This commit is contained in:
@ -8850,6 +8850,7 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
"Now opening app" + wtoken);
|
"Now opening app" + wtoken);
|
||||||
wtoken.reportedVisible = false;
|
wtoken.reportedVisible = false;
|
||||||
wtoken.inPendingTransaction = false;
|
wtoken.inPendingTransaction = false;
|
||||||
|
wtoken.animation = null;
|
||||||
setTokenVisibilityLocked(wtoken, lp, true, transit, false);
|
setTokenVisibilityLocked(wtoken, lp, true, transit, false);
|
||||||
wtoken.updateReportedVisibilityLocked();
|
wtoken.updateReportedVisibilityLocked();
|
||||||
wtoken.showAllWindowsLocked();
|
wtoken.showAllWindowsLocked();
|
||||||
@ -8860,6 +8861,7 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
if (DEBUG_APP_TRANSITIONS) Log.v(TAG,
|
if (DEBUG_APP_TRANSITIONS) Log.v(TAG,
|
||||||
"Now closing app" + wtoken);
|
"Now closing app" + wtoken);
|
||||||
wtoken.inPendingTransaction = false;
|
wtoken.inPendingTransaction = false;
|
||||||
|
wtoken.animation = null;
|
||||||
setTokenVisibilityLocked(wtoken, lp, false, transit, false);
|
setTokenVisibilityLocked(wtoken, lp, false, transit, false);
|
||||||
wtoken.updateReportedVisibilityLocked();
|
wtoken.updateReportedVisibilityLocked();
|
||||||
// Force the allDrawn flag, because we want to start
|
// Force the allDrawn flag, because we want to start
|
||||||
|
Reference in New Issue
Block a user