Hi,

I have a service that acts a download manager, downloading files in
the background. I have aquired a partial wake lock while the downloads
are going.  When the downloads finish, I manually release the
wakelock.  Because I am paranoid, I acquired the wakelock also with a
timeout.  The problem I am seeing is that if I have already manually
released my wakelock, when the timeout period expires an error is
presented to the user (and adb logcat shows an under-locked wakelock
exception).

Is there any way to use a timeout (as backup wakelock release in case
the app force closes for some reason) without getting this error?

Cheers,

Jack

-- 
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