Vold should still create obb / data dirs for sdcardfs device
Otherwise, zygote can't find those dirs and bind mount them.
Bug: 176959830
Test: atest AdoptableHostTest
Change-Id: Ib8a7616f8e248fed244d4f23d3ae36b1419a732d
diff --git a/VolumeManager.cpp b/VolumeManager.cpp
index 714122d..5dc0d9a 100644
--- a/VolumeManager.cpp
+++ b/VolumeManager.cpp
@@ -985,11 +985,6 @@
}
int VolumeManager::ensureAppDirsCreated(const std::vector<std::string>& paths, int32_t appUid) {
- if (IsSdcardfsUsed()) {
- // sdcardfs magically does this for us
- return OK;
- }
-
int size = paths.size();
for (int i = 0; i < size; i++) {
int result = setupAppDir(paths[i], appUid, false /* fixupExistingOnly */,