Merge "Obtain incfs features early in the booting sequence." am: 915f6227a7
am: a9838cc3d3
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1585413 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I04cd9b63a12e5ca9eacf2cb26be83a903893e1d5
This commit is contained in:
commit
ef885d3deb
1 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue