Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35046177 authored by Ricky Wai's avatar Ricky Wai
Browse files

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
parent a1f3fd5b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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,