public void onBootCompleted() { if (mKeyguardService != null) { mKeyguardService.onBootCompleted(); sendStateChangeBroadcast(true); } mKeyguardState.bootCompleted = true; }
@Override public void onServiceConnected(ComponentName name, IBinder service) { if (DEBUG) Log.v(TAG, "*** Keyguard connected (yay!)"); mKeyguardService = new KeyguardServiceWrapper(IKeyguardService.Stub.asInterface(service)); if (mKeyguardState.systemIsReady) { // If the system is ready, it means keyguard crashed and restarted. mKeyguardService.onSystemReady(); // This is used to hide the scrim once keyguard displays. mKeyguardService.onScreenTurnedOn(new KeyguardShowDelegate(null)); } if (mKeyguardState.bootCompleted) { mKeyguardService.onBootCompleted(); } }
public void onBootCompleted() { if (mKeyguardService != null) { mKeyguardService.onBootCompleted(); } mKeyguardState.bootCompleted = true; }