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
This commit is contained in:
Ricky Wai 2021-01-07 09:57:44 +00:00
parent 9cecd65006
commit 1cdd35618a

View file

@ -985,11 +985,6 @@ int VolumeManager::unmountAll() {
}
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 */,