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

Commit 5b87d0cc authored by Dave Mankoff's avatar Dave Mankoff Committed by Automerger Merge Worker
Browse files

Merge "Fix Bouncer-Showing Status." into sc-dev am: 89646f1b

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15146461

Change-Id: I7189b2797c7702d58e9d6222735a236908f4c9da
parents ce8da729 89646f1b
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -367,6 +367,10 @@ public class KeyguardBouncer {
        return mShowingSoon || mExpansion != EXPANSION_HIDDEN && mExpansion != EXPANSION_VISIBLE;
        return mShowingSoon || mExpansion != EXPANSION_HIDDEN && mExpansion != EXPANSION_VISIBLE;
    }
    }


    public boolean getShowingSoon() {
        return mShowingSoon;
    }

    /**
    /**
     * @return {@code true} when bouncer's pre-hide animation already started but isn't completely
     * @return {@code true} when bouncer's pre-hide animation already started but isn't completely
     *         hidden yet, {@code false} otherwise.
     *         hidden yet, {@code false} otherwise.
+1 −1
Original line number Original line Diff line number Diff line
@@ -857,7 +857,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb


    @Override
    @Override
    public boolean bouncerIsOrWillBeShowing() {
    public boolean bouncerIsOrWillBeShowing() {
        return mBouncer.isShowing() || mBouncer.inTransit();
        return mBouncer.isShowing() || mBouncer.getShowingSoon();
    }
    }


    public boolean isFullscreenBouncer() {
    public boolean isFullscreenBouncer() {