commit | a9838cc3d32312113e5da0682d4f8f80f863f162 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Sat Feb 13 09:09:08 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat Feb 13 09:09:08 2021 +0000 |
tree | 2e2d70351dee1dd8e4d3664fec501700b4e5ad8b | |
parent | 62ed9d52db8edb1645fcda90ea91c219aa28d5f8 [diff] | |
parent | 915f6227a7fd309440238a88678201874b8effbf [diff] |
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
diff --git a/VoldNativeService.cpp b/VoldNativeService.cpp index 49bf4da..b7f1749 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(); }