Do not enable storage data isolation when mount mode is none.
By definition, MOUNT_EXTERNAL_NONE should not mount anything from external storage. Bug: 148049767 Test: App with mount mode none is not mounting storage data or obb dirs anymore Change-Id: I6ad4cc22c395c9e6aa28210143185bc8c591da66
This commit is contained in:
@@ -2218,7 +2218,8 @@ public final class ProcessList {
|
||||
// access /mnt/user anyway.
|
||||
&& app.mountMode != Zygote.MOUNT_EXTERNAL_ANDROID_WRITABLE
|
||||
&& app.mountMode != Zygote.MOUNT_EXTERNAL_PASS_THROUGH
|
||||
&& app.mountMode != Zygote.MOUNT_EXTERNAL_INSTALLER;
|
||||
&& app.mountMode != Zygote.MOUNT_EXTERNAL_INSTALLER
|
||||
&& app.mountMode != Zygote.MOUNT_EXTERNAL_NONE;
|
||||
}
|
||||
|
||||
private Process.ProcessStartResult startProcess(HostingRecord hostingRecord, String entryPoint,
|
||||
|
||||
Reference in New Issue
Block a user