Merge "Clear sendingToBottom when animation is complete." into jb-dev

This commit is contained in:
Craig Mautner
2012-06-19 15:08:41 -07:00
committed by Android (Google) Code Review

View File

@@ -8257,6 +8257,9 @@ public class WindowManagerService extends IWindowManager.Stub
mAppTransitionRunning = false;
// Restore window app tokens to the ActivityManager views
for (int i = mAnimatingAppTokens.size() - 1; i >= 0; i--) {
mAnimatingAppTokens.get(i).sendingToBottom = false;
}
mAnimatingAppTokens.clear();
mAnimatingAppTokens.addAll(mAppTokens);
rebuildAppWindowListLocked();
@@ -9120,6 +9123,8 @@ public class WindowManagerService extends IWindowManager.Stub
// If this window's application has been removed, just skip it.
if (thisApp != null && (thisApp.removed || thisApp.sendingToBottom)) {
if (DEBUG_FOCUS) Slog.v(TAG, "Skipping app because " + (thisApp.removed
? "removed" : "sendingToBottom"));
continue;
}