commit | 28f2855c3dbf0c7658d7f458fabb7c01d68e6f37 | [log] [tgz] |
---|---|---|
author | Fyodor Kupolov <fkupolov@google.com> | Tue May 02 12:11:02 2017 -0700 |
committer | Fyodor Kupolov <fkupolov@google.com> | Tue May 02 15:08:32 2017 -0700 |
tree | b6394f1ebc2b4a3eb199d5bf4251baf689aa21f2 | |
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