Merge "Don't add windows from exiting app tokens twice." into klp-modular-dev

This commit is contained in:
Craig Mautner
2014-02-12 20:56:36 +00:00
committed by Android (Google) Code Review

View File

@@ -8067,6 +8067,9 @@ public class WindowManagerService extends IWindowManager.Stub
final int numTokens = tokens.size();
for (int tokenNdx = 0; tokenNdx < numTokens; ++tokenNdx) {
final AppWindowToken wtoken = tokens.get(tokenNdx);
if (wtoken.mDeferRemoval) {
continue;
}
i = reAddAppWindowsLocked(displayContent, i, wtoken);
}
}