diff options
| -rw-r--r-- | services/core/java/com/android/server/wm/AppWindowContainerController.java | 15 | ||||
| -rw-r--r-- | services/core/java/com/android/server/wm/AppWindowToken.java | 2 |
2 files changed, 9 insertions, 8 deletions
diff --git a/services/core/java/com/android/server/wm/AppWindowContainerController.java b/services/core/java/com/android/server/wm/AppWindowContainerController.java index e9efd4ec9e3d..40f772aaa529 100644 --- a/services/core/java/com/android/server/wm/AppWindowContainerController.java +++ b/services/core/java/com/android/server/wm/AppWindowContainerController.java @@ -367,15 +367,14 @@ public class AppWindowContainerController if (wtoken.isHidden()) { wtoken.waitingToShow = true; } - - if (wtoken.isClientHidden()) { - // In the case where we are making an app visible but holding off for a - // transition, we still need to tell the client to make its windows visible - // so they get drawn. Otherwise, we will wait on performing the transition - // until all windows have been drawn, they never will be, and we are sad. - wtoken.setClientHidden(false); - } } + + // In the case where we are making an app visible but holding off for a transition, + // we still need to tell the client to make its windows visible so they get drawn. + // Otherwise, we will wait on performing the transition until all windows have been + // drawn, they never will be, and we are sad. + wtoken.setClientHidden(false); + wtoken.requestUpdateWallpaperIfNeeded(); if (DEBUG_ADD_REMOVE) Slog.v(TAG_WM, "No longer Stopped: " + wtoken); diff --git a/services/core/java/com/android/server/wm/AppWindowToken.java b/services/core/java/com/android/server/wm/AppWindowToken.java index 42d6ec090838..277a04b6b201 100644 --- a/services/core/java/com/android/server/wm/AppWindowToken.java +++ b/services/core/java/com/android/server/wm/AppWindowToken.java @@ -367,6 +367,8 @@ class AppWindowToken extends WindowToken implements WindowManagerService.AppFree if (mClientHidden == hideClient || (hideClient && mDeferHidingClient)) { return; } + if (DEBUG_APP_TRANSITIONS) Slog.v(TAG_WM, "setClientHidden: " + this + + " clientHidden=" + hideClient + " Callers=" + Debug.getCallers(5)); mClientHidden = hideClient; sendAppVisibilityToClients(); } |