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

Commit fb5fceae authored by Jim Miller's avatar Jim Miller
Browse files

Fix broken homekey on devices without keyguard

Fixes bug 12447288

Change-Id: I580dbeac03b56c01d33844f094eaac20d7aba119
parent bb0a4f20
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -109,6 +109,9 @@ public class KeyguardServiceDelegate {
        if (!context.bindServiceAsUser(intent, mKeyguardConnection,
                Context.BIND_AUTO_CREATE, UserHandle.OWNER)) {
            if (DEBUG) Log.v(TAG, "*** Keyguard: can't bind to " + KEYGUARD_CLASS);
            mKeyguardState.showing = false;
            mKeyguardState.showingAndNotHidden = false;
            mKeyguardState.secure = false;
        } else {
            if (DEBUG) Log.v(TAG, "*** Keyguard started");
        }