Android
android.app
public class

android.app.KeyguardManager.KeyguardLock

java.lang.Object
android.app.KeyguardManager.KeyguardLock

Handle returned by newKeyguardLock(String) that allows you to disable / reenable the keyguard.

Summary

Public Methods

          void  disableKeyguard()
Disable the keyguard from showing.
          void  reenableKeyguard()
Reenable the keyguard.
Methods inherited from class java.lang.Object

Details

Public Methods

public void disableKeyguard()

Disable the keyguard from showing. If the keyguard is currently showing, hide it. The keyguard will be prevented from showing again until reenableKeyguard() is called. A good place to call this is from onResume()

public void reenableKeyguard()

Reenable the keyguard. The keyguard will reappear if the previous call to disableKeyguard() caused it it to be hidden. A good place to call this is from onPause()
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48