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

Commit b08c1d3a authored by Hongwei Wang's avatar Hongwei Wang Committed by Android (Google) Code Review
Browse files

Merge "Reset buffer after stop protolog to file" into tm-qpr-dev

parents 0f58ef4f 5b99a6c4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -255,6 +255,7 @@ public class BaseProtoLogImpl {
            if (writeToFile) {
                writeProtoLogToFileLocked();
                logAndPrintln(pw, "Log written to " + mLogFile + ".");
                mBuffer.resetBuffer();
            }
            if (mProtoLogEnabled) {
                logAndPrintln(pw, "ERROR: logging was re-enabled while waiting for flush.");