Merge "crash_reporter: Fix tmp directory location"

This commit is contained in:
Steve Fung 2015-08-24 03:26:21 +00:00 committed by Gerrit Code Review
commit f87f5f90c5
2 changed files with 1 additions and 2 deletions

View file

@ -12,7 +12,6 @@ on boot
# Create crash directories. # Create crash directories.
mkdir /data/misc/crash_reporter 0700 root root 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 service crash_reporter /system/bin/crash_reporter --init
class late_start class late_start

View file

@ -45,7 +45,7 @@ static const char kCoreToMinidumpConverterPath[] = "/system/bin/core2md";
static const char kStatePrefix[] = "State:\t"; 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. // Define an otherwise invalid value that represents an unknown UID.
static const uid_t kUnknownUid = -1; static const uid_t kUnknownUid = -1;