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

Commit 5630166e authored by Lucas Dupin's avatar Lucas Dupin Committed by android-build-team Robot
Browse files

Cancel show runnable when bouncer is hidden

Otherwise the bouncer might report "showing soon" and future
show() calls will be aborted.

Test: swipe up and down, wait for face, swipe up
Test: tap on notification on bouncer
Test: swipe up, unlock from bouncer
Test: unlock on lock screen, swipe up to dismiss bouncer
Fixes: 132846921
Change-Id: I22a1af2ef903b266ae8d8fcb9eb55f6cc11aeae2
(cherry picked from commit 9b8e5e38)
parent 6a7029b7
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -207,7 +207,6 @@ public class KeyguardBouncer {
     * @see #onFullyShown()
     */
    private void onFullyHidden() {
        if (!mShowingSoon) {
        cancelShowRunnable();
        if (mRoot != null) {
            mRoot.setVisibility(View.INVISIBLE);
@@ -215,7 +214,6 @@ public class KeyguardBouncer {
        mFalsingManager.onBouncerHidden();
        DejankUtils.postAfterTraversal(mResetRunnable);
    }
    }

    private final Runnable mShowRunnable = new Runnable() {
        @Override