diff options
author | Craig Mautner <cmautner@google.com> | 2012-03-21 11:52:40 -0700 |
---|---|---|
committer | Craig Mautner <cmautner@google.com> | 2012-03-21 11:52:40 -0700 |
commit | 03273d00ce1d7b4ebde95994732dd80204ba7e68 (patch) | |
tree | daa0a0f8d9474c847f9012f8664baf53030b5287 /services/java/com/android/server/wm/AppWindowToken.java | |
parent | 006f0e41abca961bade88908d7ef56ae63c429fb (diff) | |
download | frameworks_base-03273d00ce1d7b4ebde95994732dd80204ba7e68.zip frameworks_base-03273d00ce1d7b4ebde95994732dd80204ba7e68.tar.gz frameworks_base-03273d00ce1d7b4ebde95994732dd80204ba7e68.tar.bz2 |
Continue animations started from AppWindowToken.
Animations that were started from AppWindowToken.showAllWindowsLocked
were not setting mInnerFields.mAnimating and hence the animations were
not progressing. This resulted in popups such as menus and time/date
settings not showing up.
Fixes bug 6205076.
Change-Id: I4daae5895e64182328671e282331f14dd5561d5e
Diffstat (limited to 'services/java/com/android/server/wm/AppWindowToken.java')
-rw-r--r-- | services/java/com/android/server/wm/AppWindowToken.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/services/java/com/android/server/wm/AppWindowToken.java b/services/java/com/android/server/wm/AppWindowToken.java index 4b3d904..3043da2 100644 --- a/services/java/com/android/server/wm/AppWindowToken.java +++ b/services/java/com/android/server/wm/AppWindowToken.java @@ -190,14 +190,17 @@ class AppWindowToken extends WindowToken { } } - void showAllWindowsLocked() { + boolean showAllWindowsLocked() { + boolean isAnimating = false; final int NW = allAppWindows.size(); for (int i=0; i<NW; i++) { WindowState w = allAppWindows.get(i); if (WindowManagerService.DEBUG_VISIBILITY) Slog.v(WindowManagerService.TAG, "performing show on: " + w); w.performShowLocked(); + isAnimating |= w.isAnimating(); } + return isAnimating; } |