Loading policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -5269,6 +5269,7 @@ public class PhoneWindowManager implements WindowManagerPolicy { @Override public void systemBooted() { if (mKeyguardDelegate != null) { mKeyguardDelegate.bindService(mContext); mKeyguardDelegate.onBootCompleted(); } synchronized (mLock) { Loading policy/src/com/android/internal/policy/impl/keyguard/KeyguardServiceDelegate.java +4 −2 Original line number Diff line number Diff line Loading @@ -102,9 +102,12 @@ public class KeyguardServiceDelegate { }; public KeyguardServiceDelegate(Context context, LockPatternUtils lockPatternUtils) { mScrim = createScrim(context); } public void bindService(Context context) { Intent intent = new Intent(); intent.setClassName(KEYGUARD_PACKAGE, KEYGUARD_CLASS); mScrim = createScrim(context); if (!context.bindServiceAsUser(intent, mKeyguardConnection, Context.BIND_AUTO_CREATE, UserHandle.OWNER)) { if (DEBUG) Log.v(TAG, "*** Keyguard: can't bind to " + KEYGUARD_CLASS); Loading Loading @@ -250,7 +253,6 @@ public class KeyguardServiceDelegate { if (mKeyguardService != null) { mKeyguardService.onSystemReady(); } else { if (DEBUG) Log.v(TAG, "onSystemReady() called before keyguard service was ready"); mKeyguardState.systemIsReady = true; } } Loading Loading
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -5269,6 +5269,7 @@ public class PhoneWindowManager implements WindowManagerPolicy { @Override public void systemBooted() { if (mKeyguardDelegate != null) { mKeyguardDelegate.bindService(mContext); mKeyguardDelegate.onBootCompleted(); } synchronized (mLock) { Loading
policy/src/com/android/internal/policy/impl/keyguard/KeyguardServiceDelegate.java +4 −2 Original line number Diff line number Diff line Loading @@ -102,9 +102,12 @@ public class KeyguardServiceDelegate { }; public KeyguardServiceDelegate(Context context, LockPatternUtils lockPatternUtils) { mScrim = createScrim(context); } public void bindService(Context context) { Intent intent = new Intent(); intent.setClassName(KEYGUARD_PACKAGE, KEYGUARD_CLASS); mScrim = createScrim(context); if (!context.bindServiceAsUser(intent, mKeyguardConnection, Context.BIND_AUTO_CREATE, UserHandle.OWNER)) { if (DEBUG) Log.v(TAG, "*** Keyguard: can't bind to " + KEYGUARD_CLASS); Loading Loading @@ -250,7 +253,6 @@ public class KeyguardServiceDelegate { if (mKeyguardService != null) { mKeyguardService.onSystemReady(); } else { if (DEBUG) Log.v(TAG, "onSystemReady() called before keyguard service was ready"); mKeyguardState.systemIsReady = true; } } Loading