Merge "Fix broken homekey on devices without keyguard" into klp-modular-dev

This commit is contained in:
Jim Miller
2014-01-13 22:25:03 +00:00
committed by Android (Google) Code Review

View File

@@ -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");
}