Merge "Obtain incfs features early in the booting sequence."
This commit is contained in:
commit
915f6227a7
1 changed files with 6 additions and 0 deletions
|
@ -903,10 +903,16 @@ binder::Status VoldNativeService::resetCheckpoint() {
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void initializeIncFs() {
|
||||||
|
// Obtaining IncFS features triggers initialization of IncFS.
|
||||||
|
incfs::features();
|
||||||
|
}
|
||||||
|
|
||||||
binder::Status VoldNativeService::earlyBootEnded() {
|
binder::Status VoldNativeService::earlyBootEnded() {
|
||||||
ENFORCE_SYSTEM_OR_ROOT;
|
ENFORCE_SYSTEM_OR_ROOT;
|
||||||
ACQUIRE_LOCK;
|
ACQUIRE_LOCK;
|
||||||
|
|
||||||
|
initializeIncFs();
|
||||||
Keymaster::earlyBootEnded();
|
Keymaster::earlyBootEnded();
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue