标签: android keyguard keyguardlock
我有一个应用,它的屏幕应该受到KeyguardManager.createConfirmDeviceCredentialIntent的保护。但是这个api仅适用于21岁以上,我尝试使用KeyguardManager.newKeyguardLock并设置FLAG_DISMISS_KEYGUARD,但这似乎根本不起作用,我该如何让它工作旧设备?
KeyguardManager.createConfirmDeviceCredentialIntent
KeyguardManager.newKeyguardLock
FLAG_DISMISS_KEYGUARD