Merge "Create /mnt/pass_through/<userid> in zygote if not created"
This commit is contained in:
committed by
Android (Google) Code Review
commit
4784d2c056
@@ -820,6 +820,7 @@ static void MountEmulatedStorage(uid_t uid, jint mount_mode,
|
||||
if (isFuse) {
|
||||
if (mount_mode == MOUNT_EXTERNAL_PASS_THROUGH) {
|
||||
const std::string pass_through_source = StringPrintf("/mnt/pass_through/%d", user_id);
|
||||
PrepareDir(pass_through_source, 0710, AID_ROOT, AID_MEDIA_RW, fail_fn);
|
||||
BindMount(pass_through_source, "/storage", fail_fn);
|
||||
} else if (mount_mode == MOUNT_EXTERNAL_INSTALLER) {
|
||||
const std::string installer_source = StringPrintf("/mnt/installer/%d", user_id);
|
||||
|
||||
Reference in New Issue
Block a user