diff options
author | Tianjie <xunchang@google.com> | 2021-06-30 16:53:59 -0700 |
---|---|---|
committer | Tianjie <xunchang@google.com> | 2021-07-01 13:47:05 -0700 |
commit | a0727e9f094ee3873e6e205d77dcd14c4ce2a296 (patch) | |
tree | 60b2f4392d9182b397576fe8b9d073c9c916b123 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 04e32fa3d2299fef16f15ae237b592da55e50081 (diff) |
Acquire the wake lock to ensure RoR isn't delayed
The server based RoR is time critical, and the secret has a life time
of 10 minutes by default. In one bug, we find the task scheduled by
RebootEscrowManager doesn't run until 13 minutes later. As a
precaution, hold the wake lock in RebootEscrowManager to make sure the
resume on reboot completes.
Bug: 191784420
Test: trigger a RoR
Change-Id: Ife17e279d28b73d22213188a795d0edab99d0818
(cherry picked from commit caefed18a228a8b1c5b7d606406d50b068c06f6a)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions