am 78003caf: am 32679a82: Create user directory on emulated storage.
* commit '78003caff32e8220ebd6ca89703916d9297b77b3':
Create user directory on emulated storage.
diff --git a/VolumeManager.cpp b/VolumeManager.cpp
index 6710b0c..ddb7517 100755
--- a/VolumeManager.cpp
+++ b/VolumeManager.cpp
@@ -416,6 +416,7 @@
std::string source(mPrimary->getPath());
if (mPrimary->getType() == android::vold::VolumeBase::Type::kEmulated) {
source = StringPrintf("%s/%d", source.c_str(), userId);
+ fs_prepare_dir(source.c_str(), 0755, AID_ROOT, AID_ROOT);
}
std::string target(StringPrintf("/mnt/user/%d/primary", userId));