I suppose acquire() just increases some hidden counter and the device is turned on until all of the locks are released.
On Oct 30, 9:31 am, "Akshay Sumant" <[EMAIL PROTECTED]> wrote: > On Fri, Oct 24, 2008 at 3:24 PM, Akshay Sumant <[EMAIL PROTECTED]>wrote: > > > Hi all, > > AFAIK, wake locks ensure a constant device state (for CPU,LCD > > backlight, Keypad backlight) in between acquire() and release() of a > > wake lock. > > What if there are two or more apps acquiring (rather trying to > > acquire) wake lock at a same time? How are they handled? Who takes > > this responsibility? > > Please put some light on these issues. > > -- > Thank you. > Akshay Sumant. > "Harder I work, more luck I seem to have" --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

