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

Commit be72f3d5 authored by Lucas Dupin's avatar Lucas Dupin Committed by Android (Google) Code Review
Browse files

Merge "Bouncer animation and message" into pi-dev

parents 55ae3172 2986c156
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 */);
        }
    }