mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-28 01:49:23 +01:00
Log SyncThread state
This commit is contained in:
parent
fc4f4f7131
commit
015aaa0516
@ -502,9 +502,14 @@ class BugReporter @Inject constructor(
|
||||
screenshot = takeScreenshot(activity)
|
||||
logDbInfo()
|
||||
logProcessInfo()
|
||||
logOtherInfo()
|
||||
activity.startActivity(BugReportActivity.intent(activity, reportType))
|
||||
}
|
||||
|
||||
private fun logOtherInfo() {
|
||||
Timber.i("SyncThread state: " + activeSessionHolder.getSafeActiveSession()?.syncService()?.getSyncState())
|
||||
}
|
||||
|
||||
private fun logDbInfo() {
|
||||
val dbInfo = matrix.debugService().getDbUsageInfo()
|
||||
Timber.i(dbInfo)
|
||||
|
Loading…
x
Reference in New Issue
Block a user