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

Commit 13f7ac9e authored by Adrian Roos's avatar Adrian Roos Committed by Automerger Merge Worker
Browse files

Merge "Revert "Fixup app-private dirs that are not writable."" into sc-dev am: 3e7a628f

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14327560

Change-Id: I69c8c4737d18bb8d249d27ef637ba872a69df403
parents aa498d80 3e7a628f
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -3273,13 +3273,6 @@ class ContextImpl extends Context {
                    dir = null;
                }
            }
            if (!dir.canWrite()) {
                // Older versions of the MediaProvider mainline module had a rare early boot race
                // condition where app-private dirs could be created with the wrong permissions;
                // fix this up here. This check should be very fast, because dir.exists() above
                // will already have loaded the dentry in the cache.
                sm.fixupAppDir(dir);
            }
            result[i] = dir;
        }
        return result;