SHARE
TWEET

Android disable keyguard

a guest Aug 10th, 2011 407 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. KeyguardManager mKeyGuardManager = (KeyguardManager) getSystemService(Context.KEYGUARD_SERVICE);
  2. KeyguardLock mLock = mKeyGuardManager.newKeyguardLock("Springboard");
  3. mLock.disableKeyguard();
RAW Paste Data
Top