diff options
author | John Wang <johnwang@google.com> | 2011-01-26 14:11:21 -0800 |
---|---|---|
committer | John Wang <johnwang@google.com> | 2011-01-26 14:40:36 -0800 |
commit | 4376538c47b19a8ff023cdb2182030627929b504 (patch) | |
tree | 9567b5cf2906512c31fd90ca22977a7e22f03fef /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 8a445fc30e45c1f7a9805ae19948ec32786458a0 (diff) |
Enable recovery in RIL wakelock release check.
This is a cherry-pick Change 91968 from GB branch.
Wakelock will get released while
1) no request pending to be sent out, in which mRequestMessagesPending increases
before calling EVENT_SEND and decreases while handling EVENT_SEND.
and
2) no waiting requests sent to RIL but no replied, in which mRequestMessagesWaiting
increases while sending request and decreases while handling response.
Both will be cleared while WAKE_LOCK_TIMEOUT occurs to recovery from out of sync situation.
bug: 3369427, 3370827
Change-Id: Ibbcc95d67a292ffe20339ea9bdb0f2e4a4988da0
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions