Remove log, I do not understand when this code has disappeared.
This commit is contained in:
parent
0607f835aa
commit
d5f0a6d66a
|
@ -58,6 +58,7 @@ import im.vector.app.features.settings.VectorPreferences
|
|||
import im.vector.app.features.themes.ThemeUtils
|
||||
import im.vector.app.features.version.VersionProvider
|
||||
import im.vector.app.push.fcm.FcmHelper
|
||||
import org.jitsi.meet.sdk.log.JitsiMeetDefaultLogHandler
|
||||
import org.matrix.android.sdk.api.Matrix
|
||||
import org.matrix.android.sdk.api.MatrixConfiguration
|
||||
import org.matrix.android.sdk.api.auth.AuthenticationService
|
||||
|
@ -117,6 +118,11 @@ class VectorApplication :
|
|||
vectorUncaughtExceptionHandler.activate(this)
|
||||
rxConfig.setupRxPlugin()
|
||||
|
||||
// Remove Log handler statically added by Jitsi
|
||||
Timber.forest()
|
||||
.filterIsInstance(JitsiMeetDefaultLogHandler::class.java)
|
||||
.forEach { Timber.uproot(it) }
|
||||
|
||||
if (BuildConfig.DEBUG) {
|
||||
Timber.plant(Timber.DebugTree())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue