summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/wm/WindowStateAnimator.java
diff options
context:
space:
mode:
Diffstat (limited to 'services/java/com/android/server/wm/WindowStateAnimator.java')
-rw-r--r--services/java/com/android/server/wm/WindowStateAnimator.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/services/java/com/android/server/wm/WindowStateAnimator.java b/services/java/com/android/server/wm/WindowStateAnimator.java
index bdacb6e..d140aca 100644
--- a/services/java/com/android/server/wm/WindowStateAnimator.java
+++ b/services/java/com/android/server/wm/WindowStateAnimator.java
@@ -1063,10 +1063,7 @@ class WindowStateAnimator {
setSurfaceBoundaries(recoveringMemory);
- if (mWin.mIsWallpaper && !mWin.mWallpaperVisible) {
- // Wallpaper is no longer visible and there is no wp target => hide it.
- hide();
- } else if (w.mAttachedHidden || !w.isReadyForDisplay()) {
+ if (w.mAttachedHidden || !w.isReadyForDisplay()) {
hide();
mAnimator.hideWallpapersLocked(w);