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

Commit 0c2df694 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android Git Automerger
Browse files

am 7d28ad9b: am cb54ffb2: Merge "Protect runtime storage mount points." into mnc-dev

* commit '7d28ad9b':
  Protect runtime storage mount points.
parents 8a38babb 7d28ad9b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -298,11 +298,11 @@ static bool MountEmulatedStorage(uid_t uid, jint mount_mode,

    String8 storageSource;
    if (mount_mode == MOUNT_EXTERNAL_DEFAULT) {
        storageSource = "/mnt/runtime_default";
        storageSource = "/mnt/runtime/default";
    } else if (mount_mode == MOUNT_EXTERNAL_READ) {
        storageSource = "/mnt/runtime_read";
        storageSource = "/mnt/runtime/read";
    } else if (mount_mode == MOUNT_EXTERNAL_WRITE) {
        storageSource = "/mnt/runtime_write";
        storageSource = "/mnt/runtime/write";
    } else {
        // Sane default of no storage visible
        return true;