Merge "Reduce disk space limit for incident reports." into pi-dev

am: a991071db9

Change-Id: I91a5bcc59ad1472832dfe0cf2e07216c8abf54f3
This commit is contained in:
Yi Jin
2018-04-13 14:00:16 -07:00
committed by android-build-merger

View File

@@ -106,8 +106,7 @@ Reporter::Reporter() : Reporter(INCIDENT_DIRECTORY) { isTest = false; };
Reporter::Reporter(const char* directory) : batch() {
char buf[100];
// TODO: Make the max size smaller for user builds.
mMaxSize = 100 * 1024 * 1024;
mMaxSize = 30 * 1024 * 1024; // incident reports can take up to 30MB on disk
mMaxCount = 100;
// string ends up with '/' is a directory