[Android] Add a dump of VLCOptions to the debug logs
Nicolas Pomepuy
git at videolan.org
Mon Oct 3 11:10:29 UTC 2022
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Sep 28 07:42:29 2022 +0200| [e2f8bbf3e643e46f830ca169ef57614ebd04b587] | committer: Duncan McNamara
Add a dump of VLCOptions to the debug logs
> https://code.videolan.org/videolan/vlc-android/commit/e2f8bbf3e643e46f830ca169ef57614ebd04b587
---
application/vlc-android/src/org/videolan/vlc/DebugLogService.kt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/application/vlc-android/src/org/videolan/vlc/DebugLogService.kt b/application/vlc-android/src/org/videolan/vlc/DebugLogService.kt
index 59be28392..aff1bf8cd 100644
--- a/application/vlc-android/src/org/videolan/vlc/DebugLogService.kt
+++ b/application/vlc-android/src/org/videolan/vlc/DebugLogService.kt
@@ -34,6 +34,7 @@ import androidx.core.app.NotificationCompat
import org.videolan.libvlc.util.AndroidUtil
import org.videolan.resources.AndroidDevices
import org.videolan.resources.AppContextProvider
+import org.videolan.resources.VLCOptions
import org.videolan.resources.util.launchForeground
import org.videolan.tools.CloseableUtils
import org.videolan.tools.Logcat
@@ -194,6 +195,8 @@ class DebugLogService : Service(), Logcat.Callback, Runnable {
bw.write(Log.getStackTraceString(e))
}
bw.write("____________________________\r\n")
+ bw.write("vlc options: ${VLCOptions.libOptions.joinToString(" ")}\r\n")
+ bw.write("____________________________\r\n")
for (line in logList) {
bw.write(line)
bw.newLine()
More information about the Android
mailing list