Code example for KeyguardManager.KeyguardLock

Methods: reenableKeyguard

0
        	wakeLock = null;
        } 
    } 
 
    public static void exit() { 
    	keyguardLock.reenableKeyguard();
    	keyguardLock = null;
    } 
     
    public static void acquire() { 
    	 
    	if ((wakeLock != null) && !wakeLock.isHeld()) {
    		wakeLock.acquire();
    	} 
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java