{ KeyguardManager mKeyguardManager = (KeyguardManager) getSystemService(KEYGUARD_SERVICE); if (mKeyguardManager.inKeyguardRestrictedInputMode()) { // keyguard on } }
Android: 判断当前是否为锁屏界面(Keyguard)
最新推荐文章于 2022-03-10 14:46:48 发布