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

Commit 1dd0b14f authored by Jeff Sharkey's avatar Jeff Sharkey Committed by android-build-merger
Browse files

Explicitly chmod() for compatibility.

am: 46ed6f4b

* commit '46ed6f4b':
  Explicitly chmod() for compatibility.
parents 1ff82ecd 46ed6f4b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -492,6 +492,7 @@ class ContextImpl extends Context {
        if (!file.exists()) {
            try {
                Os.mkdir(file.getAbsolutePath(), 0771);
                Os.chmod(file.getAbsolutePath(), 0771);
            } catch (ErrnoException e) {
                if (e.errno == OsConstants.EEXIST) {
                    // We must have raced with someone; that's okay