Merge "Obtain incfs features early in the booting sequence." am: 915f6227a7

Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1585413

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I695d55952de65a940602efd2387611e00bbde0ec
This commit is contained in:
Treehugger Robot 2021-02-13 09:09:08 +00:00 committed by Automerger Merge Worker
commit a9838cc3d3

View file

@ -903,10 +903,16 @@ binder::Status VoldNativeService::resetCheckpoint() {
return Ok();
}
static void initializeIncFs() {
// Obtaining IncFS features triggers initialization of IncFS.
incfs::features();
}
binder::Status VoldNativeService::earlyBootEnded() {
ENFORCE_SYSTEM_OR_ROOT;
ACQUIRE_LOCK;
initializeIncFs();
Keymaster::earlyBootEnded();
return Ok();
}