android 取消系统锁屏

KeyguardManager mKeyguardManager = (KeyguardManager)getSystemService(Context.KEYGUARD_SERVICE);

KeyguardLock mKeyguardLock = mKeyguardManager.newKeyguardLock("MainActivity");

mKeyguardLock.disableKeyguard();

你可能感兴趣的:(android,service)