mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03:00
Log SyncThread state
This commit is contained in:
parent
fc4f4f7131
commit
015aaa0516
1 changed files with 5 additions and 0 deletions
|
@ -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…
Reference in a new issue