am f87f5f90: Merge "crash_reporter: Fix tmp directory location"
* commit 'f87f5f90c56923e88c2a6728d919dabaab0e4177':
crash_reporter: Fix tmp directory location
diff --git a/crash_reporter/init.crash_reporter.rc b/crash_reporter/init.crash_reporter.rc
index f65371a..6882b77 100644
--- a/crash_reporter/init.crash_reporter.rc
+++ b/crash_reporter/init.crash_reporter.rc
@@ -12,7 +12,6 @@
# Create crash directories.
mkdir /data/misc/crash_reporter 0700 root root
- mkdir /data/local/tmp/crash_reporter 0700 root root
service crash_reporter /system/bin/crash_reporter --init
class late_start
diff --git a/crash_reporter/user_collector.cc b/crash_reporter/user_collector.cc
index 62457c5..ee24648 100644
--- a/crash_reporter/user_collector.cc
+++ b/crash_reporter/user_collector.cc
@@ -45,7 +45,7 @@
static const char kStatePrefix[] = "State:\t";
-static const char kCoreTempFolder[] = "/data/local/tmp/crash_reporter";
+static const char kCoreTempFolder[] = "/data/misc/crash_reporter/tmp";
// Define an otherwise invalid value that represents an unknown UID.
static const uid_t kUnknownUid = -1;