am bde25c20: Merge "Fix 2737842: disable keyguard API when device policy is enabled." into froyo
Merge commit 'bde25c207731783a62e3611586fe05cd35add0d9' into froyo-plus-aosp * commit 'bde25c207731783a62e3611586fe05cd35add0d9': Fix 2737842: disable keyguard API when device policy is enabled.
This commit is contained in:
@@ -53,6 +53,9 @@ public class KeyguardManager {
|
||||
*
|
||||
* A good place to call this is from {@link android.app.Activity#onResume()}
|
||||
*
|
||||
* Note: This call has no effect while any {@link DevicePolicyManager} is enabled
|
||||
* that requires a password.
|
||||
*
|
||||
* @see #reenableKeyguard()
|
||||
*/
|
||||
public void disableKeyguard() {
|
||||
@@ -66,7 +69,10 @@ public class KeyguardManager {
|
||||
* Reenable the keyguard. The keyguard will reappear if the previous
|
||||
* call to {@link #disableKeyguard()} caused it it to be hidden.
|
||||
*
|
||||
* A good place to call this is from {@link android.app.Activity#onPause()}
|
||||
* A good place to call this is from {@link android.app.Activity#onPause()}
|
||||
*
|
||||
* Note: This call has no effect while any {@link DevicePolicyManager} is enabled
|
||||
* that requires a password.
|
||||
*
|
||||
* @see #disableKeyguard()
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user