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

Commit 8d29168a authored by Lucas Dupin's avatar Lucas Dupin Committed by android-build-merger
Browse files

Merge "Fix issue where bouncer won't be dismissed when being dragged" into qt-r1-dev am: a95904e1

am: 127aeecb

Change-Id: Ieab581acf07de20c8fbbdf3d4e633d6ca7b85da9
parents 5beb4ff9 127aeecb
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -346,10 +346,10 @@ public class KeyguardBouncer {
    }

    /**
     * {@link #show(boolean)} was called but we're not showing yet.
     * {@link #show(boolean)} was called but we're not showing yet, or being dragged.
     */
    public boolean willShowSoon() {
        return mShowingSoon;
    public boolean inTransit() {
        return mShowingSoon || mExpansion != EXPANSION_HIDDEN;
    }

    /**
+1 −1
Original line number Diff line number Diff line
@@ -720,7 +720,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
     * animation didn't finish yet.
     */
    public boolean bouncerIsOrWillBeShowing() {
        return mBouncer.isShowing() || mBouncer.willShowSoon();
        return mBouncer.isShowing() || mBouncer.inTransit();
    }

    public boolean isFullscreenBouncer() {