commit | f26b013a19da9a293ad61e7542c7acda62263d1c | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Sat Feb 13 10:16:50 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat Feb 13 10:16:50 2021 +0000 |
tree | bc0a3face8b58817d6b51f034c63a94180683a38 | |
parent | 4b3897bbdf4fb0ebde6568eaf171c5e8f5c76ae3 [diff] | |
parent | ef885d3debbc0b75160d652f3f25c91e153a74d6 [diff] |
Merge "Obtain incfs features early in the booting sequence." am: 915f6227a7 am: a9838cc3d3 am: ef885d3deb Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1585413 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I1af24c06a0fa58f11a754bfc22b43f0a7837e12b
diff --git a/VoldNativeService.cpp b/VoldNativeService.cpp index c143041..ef5dfce 100644 --- a/VoldNativeService.cpp +++ b/VoldNativeService.cpp
@@ -903,10 +903,16 @@ 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(); }