add extra line to split up crash log device info

This commit is contained in:
Jays2Kings 2022-05-02 20:01:07 -04:00
parent fb3dffadf0
commit 3b5e12b248

View file

@ -23,7 +23,7 @@ class CrashLogUtil(private val context: Context) {
fun dumpLogs() {
try {
val file = context.createFileInCacheDir("tachiyomi_crash_logs.txt")
file.appendText(getDebugInfo() + "\n")
file.appendText(getDebugInfo() + "\n\n")
Runtime.getRuntime().exec("logcat *:E -d -f ${file.absolutePath}")
showNotification(file.getUriCompat(context))