Is that true? "calling reenableKeyguard() on the the locked phone may put it in the wrong state" Now ,I am dealing with a problem about my activtiy's when the screen is locked,so I called reenableKeyguard() and disableKeygurd, but met some trouble.I will do some futher test for my app!
On 4月23日, 上午12时21分, dilit <[email protected]> wrote: > Seems likeandroid.app.KeyguardManager.KeyguardLock > should do this. lock.reenableKeyguard() to lock and > lock.disableKeyguard() tounlock. > > The only issue is that calling reenableKeyguard() on the the locked > phone may > put it in the wrong state (vice versa for disabling). Could be an API > bug ... > > > - 显示引用的文字 - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

