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

Commit 272d0617 authored by Lucas Dupin's avatar Lucas Dupin Committed by android-build-merger
Browse files

Merge "Bouncer animation and message" into pi-dev am: be72f3d5

am: 7df2c87f

Change-Id: I437371b4d53bda1b078de6f76bf33a98bce37352
parents c623c257 7df2c87f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -265,11 +265,11 @@ public abstract class KeyguardAbsKeyInputView extends LinearLayout
            mPendingLockCheck.cancel(false);
            mPendingLockCheck = null;
        }
        reset();
    }

    @Override
    public void onResume(int reason) {
        reset();
    }

    @Override
+4 −0
Original line number Diff line number Diff line
@@ -1184,6 +1184,10 @@ public class KeyguardViewMediator extends SystemUI {
        Trace.endSection();
    }

    public boolean isHiding() {
        return mHiding;
    }

    /**
     * Handles SET_OCCLUDED message sent by setOccluded()
     */
+2 −1
Original line number Diff line number Diff line
@@ -3942,7 +3942,8 @@ public class StatusBar extends SystemUI implements DemoMode,
    }

    private void showBouncerIfKeyguard() {
        if (mState == StatusBarState.KEYGUARD || mState == StatusBarState.SHADE_LOCKED) {
        if ((mState == StatusBarState.KEYGUARD || mState == StatusBarState.SHADE_LOCKED)
                && !mKeyguardViewMediator.isHiding()) {
            showBouncer(true /* animated */);
        }
    }