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

Commit 89646f1b authored by Dave Mankoff's avatar Dave Mankoff Committed by Android (Google) Code Review
Browse files

Merge "Fix Bouncer-Showing Status." into sc-dev

parents 267216bd c2e6868f
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() {