Log SyncThread state

This commit is contained in:
Benoit Marty 2022-08-19 15:02:01 +02:00
parent fc4f4f7131
commit 015aaa0516

View file

@ -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)