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

Commit e7d6816f authored by Ramanan Rajeswaran's avatar Ramanan Rajeswaran Committed by Android (Google) Code Review
Browse files

Merge "Fix creation issue of stack trace dump directory" into lmp-dev

parents 2e451c81 a0e0c0df
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4873,7 +4873,7 @@ public final class ActivityManagerService extends ActivityManagerNative
        try {
            File tracesDir = tracesFile.getParentFile();
            if (!tracesDir.exists()) {
                tracesFile.mkdirs();
                tracesDir.mkdirs();
                if (!SELinux.restorecon(tracesDir)) {
                    return null;
                }
@@ -4983,7 +4983,7 @@ public final class ActivityManagerService extends ActivityManagerNative
            final File tracesTmp = new File(tracesDir, "__tmp__");
            try {
                if (!tracesDir.exists()) {
                    tracesFile.mkdirs();
                    tracesDir.mkdirs();
                    if (!SELinux.restorecon(tracesDir.getPath())) {
                        return;
                    }