commit | caefed18a228a8b1c5b7d606406d50b068c06f6a | [log] [tgz] |
---|---|---|
author | Tianjie <xunchang@google.com> | Wed Jun 30 16:53:59 2021 -0700 |
committer | Tianjie <xunchang@google.com> | Thu Jul 01 10:53:52 2021 -0700 |
tree | 023fd87f2bdee6807c5e8de5e155d1604deb0dcf | |
parent | 7405010f23758b09ac60e1e4b763efd4db3e253a [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