On Apr 25, 10:23 pm, Thilo-Alexander Ginkel <[email protected]> wrote:
> Can you try what happens if you acquire the wake lock with the
> WAKE_BIT_CPU_WEAK set? I'd try it myself, but am a little short on
> time right now.

Well, scrap that idea... Did not try it, but figured out that at
various places in PowerManager.java and PowerManagerService.java
validity checks are put into place explicitly checking for the
documented wake lock masks and counteracting what I proposed with
throwing an (IIRC) IllegalArgumentException or writing an error log
entry. The reason seems to be a valid one, though: The low-level
(native) interface does not seem to care about wake lock masks, but
only knows a couple of dedicated wake locks (PARTIAL_WAKE_LOCK being
one of them). Now, I'd continue to investigate what is going on at the
kernel level, but HTC is refusing to release the source code for the
HTC Desire kernel that I am experiencing the problem with.

Regards,
Thilo

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

Reply via email to