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

Commit b02669e2 authored by Eugene Susla's avatar Eugene Susla
Browse files

Inclrease the size of log file before truncating

Test: presubmit
Bug: 153607914
Change-Id: Ic445ab43c80ce2d58ac10f40a4ee70ce3db56cd1
parent 46e333d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ import java.io.File
 * Like {@link Log} but stores the logs in a file which can later be dumped via {@link #dump}
 */
object DumpableLog {
    private const val MAX_FILE_SIZE = 32 * 1024
    private const val MAX_FILE_SIZE = 64 * 1024

    private val lock = Any()
    private val file = File(PermissionControllerApplication.get().filesDir, LOGS_TO_DUMP_FILE)