mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 02:15:35 +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