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

Commit a991071d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 0e100add 91d43302
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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