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

Commit cb54ffb2 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Protect runtime storage mount points." into mnc-dev

parents 93f3fc87 928e1ecf
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;