mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
add extra line to split up crash log device info
This commit is contained in:
parent
fb3dffadf0
commit
3b5e12b248
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue