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

Commit 1d42219e authored by Adrian Roos's avatar Adrian Roos Committed by android-build-merger
Browse files

Merge "AOD: Hide SIM PIN entry while dozing" into oc-dr1-dev

am: 4a51e275

Change-Id: Ibf1bc449bf63e24ffec1fffc3634d4a4c5e281b8
parents 4c201983 4a51e275
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -152,7 +152,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
     * {@link KeyguardBouncer#needsFullscreenBouncer()}.
     */
    protected void showBouncerOrKeyguard(boolean hideBouncerWhenShowing) {
        if (mBouncer.needsFullscreenBouncer()) {
        if (mBouncer.needsFullscreenBouncer() && !mDozing) {

            // The keyguard might be showing (already). So we need to hide it.
            mStatusBar.hideKeyguard();
@@ -258,9 +258,12 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
    }

    public void setDozing(boolean dozing) {
        if (mDozing != dozing) {
            mDozing = dozing;
            reset(dozing /* hideBouncerWhenShowing */);
            updateStates();
        }
    }

    public void onScreenTurnedOff() {
        mScreenTurnedOn = false;