Loading services/core/java/com/android/server/wm/WindowState.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1294,7 +1294,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP * otherwise. * otherwise. */ */ boolean wouldBeVisibleIfPolicyIgnored() { boolean wouldBeVisibleIfPolicyIgnored() { return mHasSurface && mPolicyVisibility && !isParentWindowHidden() return mHasSurface && !isParentWindowHidden() && !mAnimatingExit && !mDestroying && (!mIsWallpaper || mWallpaperVisible); && !mAnimatingExit && !mDestroying && (!mIsWallpaper || mWallpaperVisible); } } Loading Loading
services/core/java/com/android/server/wm/WindowState.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1294,7 +1294,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP * otherwise. * otherwise. */ */ boolean wouldBeVisibleIfPolicyIgnored() { boolean wouldBeVisibleIfPolicyIgnored() { return mHasSurface && mPolicyVisibility && !isParentWindowHidden() return mHasSurface && !isParentWindowHidden() && !mAnimatingExit && !mDestroying && (!mIsWallpaper || mWallpaperVisible); && !mAnimatingExit && !mDestroying && (!mIsWallpaper || mWallpaperVisible); } } Loading