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

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

Merge "Skip remountUid for system_server"

parents d5a091a4 4f1a24db
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2254,6 +2254,11 @@ class StorageManagerService extends IStorageManager.Stub
    }

    private void remountUidExternalStorage(int uid, int mode) {
        if (uid == Process.SYSTEM_UID) {
            // No need to remount uid for system because it has all access anyways
            return;
        }

        try {
            mVold.remountUid(uid, mode);
        } catch (Exception e) {