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

Commit aff240ad authored by Martijn Coenen's avatar Martijn Coenen Committed by Android (Google) Code Review
Browse files

Merge "Fixup SDCARD_RW GID for multi-user."

parents 1e80cd76 8b3bbeeb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1574,7 +1574,7 @@ public final class ProcessList {
        }
        if (mountExternal == Zygote.MOUNT_EXTERNAL_ANDROID_WRITABLE) {
            // For DownloadProviders and MTP: To grant access to /sdcard/Android/
            gidList.add(Process.SDCARD_RW_GID);
            gidList.add(UserHandle.getUid(UserHandle.getUserId(uid), Process.SDCARD_RW_GID));
        }
        if (mountExternal == Zygote.MOUNT_EXTERNAL_PASS_THROUGH) {
            // For the FUSE daemon: To grant access to the lower filesystem.