Merge "Clear sendingToBottom when animation is complete." into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5785e05d44
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user