Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbb987e1 authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am af2ab39a: am 78fc35bd: Merge "Hide wallpaper when wallpaper target gets hidden." into jb-dev

* commit 'af2ab39a':
  Hide wallpaper when wallpaper target gets hidden.
parents c62c7ee7 af2ab39a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1067,6 +1067,11 @@ class WindowStateAnimator {

        if (w.mAttachedHidden || !w.isReadyForDisplay()) {
            hide();
            // TODO: Consider moving the following into hide() and out of finishExit() as well.
            if (mService.mWallpaperTarget == mWin && mService.mLowerWallpaperTarget == null) {
                mAnimator.hideWallpapersLocked();
                mAnimator.mPendingLayoutChanges |= WindowManagerPolicy.FINISH_LAYOUT_REDO_WALLPAPER;
            }
            // If we are waiting for this window to handle an
            // orientation change, well, it is hidden, so
            // doesn't really matter.  Note that this does