本文主要是介绍SysetmUI开机是否显示Keyguard的流程,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
KeyguardViewMediator的onSystemReady方法
没有启用keyguard时KeyguardViewMediator的log:
onSystemReady 方法
doKeyguardLocked
LockPatternUtils.isLockScreenDisabled 来判断是否启用
public final static String DISABLE_LOCKSCREEN_KEY = "lockscreen.disabled";
ILockSettings service = ILockSettings.Stub.asInterface(
ServiceManager.getService(“lock_settings”));
LockSettingsStorage
最终存入了数据库locksettings.db
这篇关于SysetmUI开机是否显示Keyguard的流程的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!