OSDN Git Service

Ignore too-early earlyBootEnded on FDE devices
authorEric Biggers <ebiggers@google.com>
Thu, 24 Jun 2021 18:13:24 +0000 (11:13 -0700)
committerEric Biggers <ebiggers@google.com>
Fri, 25 Jun 2021 19:44:08 +0000 (12:44 -0700)
commit2ddc1338d7a400c972cc2bc46b4aa9a377c22a1e
tree5b94cddbafa38e172cc578729b912acc71fe6d64
parent6cc9a1d3ddddd59c08ef2e17298f935e59200126
Ignore too-early earlyBootEnded on FDE devices

Don't call IKeystoreMaintenance::earlyBootEnded() too early on FDE
devices, so that keystore2 doesn't have to be restarted.

Bug: 192090857
Test: Tested FDE on Cuttlefish, both first and non-first boots.
      Verified via log that earlyBootEnded is now called only when it
      should be, and that keystore2 no longer has to be restarted.
Change-Id: I03f816db194a8276ad19ca99b3c8894e8a5fed23
(cherry picked from commit 4859e0ca0f7fc5da217e8b388da76ece41dd726e)
Merged-In: I03f816db194a8276ad19ca99b3c8894e8a5fed23
VoldNativeService.cpp