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

Commit 43530c99 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Fix refactoring typo

Seems like when we renamed/rearranged the methods we didn't ignore
mPolicyVisibility..and that's the most important part!

Fixes a bug where the dock divider isn't animating when unlocking
the phone.

Bug: 36200726
Change-Id: I4c5e9ca7f1b6e7bf21f793e1cf39d92fe77489e8
parent 95cf170c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1306,7 +1306,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
     *         otherwise.
     */
    boolean wouldBeVisibleIfPolicyIgnored() {
        return mHasSurface && mPolicyVisibility && !isParentWindowHidden()
        return mHasSurface && !isParentWindowHidden()
                && !mAnimatingExit && !mDestroying && (!mIsWallpaper || mWallpaperVisible);
    }