mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Remove log, I do not understand when this code has disappeared.
This commit is contained in:
parent
0607f835aa
commit
d5f0a6d66a
1 changed files with 6 additions and 0 deletions
|
@ -58,6 +58,7 @@ import im.vector.app.features.settings.VectorPreferences
|
||||||
import im.vector.app.features.themes.ThemeUtils
|
import im.vector.app.features.themes.ThemeUtils
|
||||||
import im.vector.app.features.version.VersionProvider
|
import im.vector.app.features.version.VersionProvider
|
||||||
import im.vector.app.push.fcm.FcmHelper
|
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.Matrix
|
||||||
import org.matrix.android.sdk.api.MatrixConfiguration
|
import org.matrix.android.sdk.api.MatrixConfiguration
|
||||||
import org.matrix.android.sdk.api.auth.AuthenticationService
|
import org.matrix.android.sdk.api.auth.AuthenticationService
|
||||||
|
@ -117,6 +118,11 @@ class VectorApplication :
|
||||||
vectorUncaughtExceptionHandler.activate(this)
|
vectorUncaughtExceptionHandler.activate(this)
|
||||||
rxConfig.setupRxPlugin()
|
rxConfig.setupRxPlugin()
|
||||||
|
|
||||||
|
// Remove Log handler statically added by Jitsi
|
||||||
|
Timber.forest()
|
||||||
|
.filterIsInstance(JitsiMeetDefaultLogHandler::class.java)
|
||||||
|
.forEach { Timber.uproot(it) }
|
||||||
|
|
||||||
if (BuildConfig.DEBUG) {
|
if (BuildConfig.DEBUG) {
|
||||||
Timber.plant(Timber.DebugTree())
|
Timber.plant(Timber.DebugTree())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue