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

Commit 82bb930b authored by Amith Yamasani's avatar Amith Yamasani Committed by Android Git Automerger
Browse files

am 67645821: Merge "Don\'t create cache directory for isolated processes" into jb-mr1-dev

* commit '67645821':
  Don't create cache directory for isolated processes
parents fabff0a0 67645821
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -4055,13 +4055,14 @@ public final class ActivityThread {

        final ContextImpl appContext = new ContextImpl();
        appContext.init(data.info, null, this);
        if (!Process.isIsolated()) {
            final File cacheDir = appContext.getCacheDir();

            // Provide a usable directory for temporary files
            System.setProperty("java.io.tmpdir", cacheDir.getAbsolutePath());

            setupGraphicsSupport(data.info, cacheDir);

        }
        /**
         * For system applications on userdebug/eng builds, log stack
         * traces of disk and network access to dropbox for analysis.