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

Commit 8ebb7b50 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Ignore revealKeyguardIfBouncerPrepared request if Bouncer is null."...

Merge "Ignore revealKeyguardIfBouncerPrepared request if Bouncer is null." into rvc-dev am: 56669d83 am: fd6edae2 am: 9765d6a6

Change-Id: Ifd95e139829ff55e62994edb7a71f3a8e4758c03
parents 2d2ec3a5 9765d6a6
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -346,6 +346,13 @@ public class CarKeyguardViewController extends OverlayViewController implements
    private void revealKeyguardIfBouncerPrepared() {
        int reattemptDelayMillis = 50;
        Runnable revealKeyguard = () -> {
            if (mBouncer == null) {
                if (DEBUG) {
                    Log.d(TAG, "revealKeyguardIfBouncerPrepared: revealKeyguard request is ignored "
                                    + "since the Bouncer has not been initialized yet.");
                }
                return;
            }
            if (!mBouncer.inTransit() || !mBouncer.isSecure()) {
                getLayout().setVisibility(View.VISIBLE);
            } else {