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

Commit f03e4c55 authored by Craig Mautner's avatar Craig Mautner
Browse files

Expose apps when keyguard animating.

Continuing in the trend of not hiding apps while the keyguard is
animating.

Fixes bug 6653600.

Change-Id: I151315084a13dcec061d2d6edccd31e1133610f4
parent 97c11fe3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2968,7 +2968,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
    }
    }


    public boolean allowAppAnimationsLw() {
    public boolean allowAppAnimationsLw() {
        if (mKeyguard != null && mKeyguard.isVisibleLw()) {
        if (mKeyguard != null && mKeyguard.isVisibleLw() && !mKeyguard.isAnimatingLw()) {
            // If keyguard is currently visible, no reason to animate
            // If keyguard is currently visible, no reason to animate
            // behind it.
            // behind it.
            return false;
            return false;
+1 −1
Original line number Original line Diff line number Diff line
@@ -279,7 +279,7 @@ public class WindowAnimator {
                        }
                        }
                        mService.mFocusMayChange = true;
                        mService.mFocusMayChange = true;
                    }
                    }
                    if (win.isReadyForDisplay()) {
                    if (win.isReadyForDisplay() && !winAnimator.isAnimating()) {
                        mForceHiding = true;
                        mForceHiding = true;
                    }
                    }
                    if (WindowManagerService.DEBUG_VISIBILITY) Slog.v(TAG,
                    if (WindowManagerService.DEBUG_VISIBILITY) Slog.v(TAG,