Log SyncThread state
This commit is contained in:
parent
fc4f4f7131
commit
015aaa0516
@ -502,9 +502,14 @@ class BugReporter @Inject constructor(
|
|||||||
screenshot = takeScreenshot(activity)
|
screenshot = takeScreenshot(activity)
|
||||||
logDbInfo()
|
logDbInfo()
|
||||||
logProcessInfo()
|
logProcessInfo()
|
||||||
|
logOtherInfo()
|
||||||
activity.startActivity(BugReportActivity.intent(activity, reportType))
|
activity.startActivity(BugReportActivity.intent(activity, reportType))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private fun logOtherInfo() {
|
||||||
|
Timber.i("SyncThread state: " + activeSessionHolder.getSafeActiveSession()?.syncService()?.getSyncState())
|
||||||
|
}
|
||||||
|
|
||||||
private fun logDbInfo() {
|
private fun logDbInfo() {
|
||||||
val dbInfo = matrix.debugService().getDbUsageInfo()
|
val dbInfo = matrix.debugService().getDbUsageInfo()
|
||||||
Timber.i(dbInfo)
|
Timber.i(dbInfo)
|
||||||
|
Loading…
Reference in New Issue
Block a user