The PowerManager.newWakeLock(....) will return a new instance of a wake 
lock every time.
 
If I have an intent service or an alarm manager service, then I won't have 
an "instance" to store this wake lock.
 
Whereas I want to work on one instance of the wake-lock object.
 
How do I handle this situation in an intent-service or an alarm manager 
service?
 
 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to