diff options
author | Fyodor Kupolov <fkupolov@google.com> | 2017-05-02 12:11:02 -0700 |
---|---|---|
committer | Fyodor Kupolov <fkupolov@google.com> | 2017-05-02 15:08:32 -0700 |
commit | 28f2855c3dbf0c7658d7f458fabb7c01d68e6f37 (patch) | |
tree | b6394f1ebc2b4a3eb199d5bf4251baf689aa21f2 /rs/java/android/renderscript/ProgramRaster.java | |
parent | 25cedc232d7180fb4bbedd168ac33e057dab2e24 (diff) |
Use timeout for *dexopt* wake lock
There are reports of *dexopt* lock being held for 10+ minutes, which shouldn't
normally happen on threads that are monitored by the Watchdog. Added
logging to help detecting that.
The lock is now held with a timeout of WAKELOCK_TIMEOUT_MS. It is set to a
higher value than PM's watchdog timeout for easier reading from a timing
histogram.
Test: Manual, device boots without errors
Bug: 37756892
Change-Id: Iac569474d1c95447e08fe5e9870e4518b8d22c65
Diffstat (limited to 'rs/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions