From f162d238502855f21722fe9583638bc46ad397ff Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Fri, 4 Jan 2019 00:03:36 -0500 Subject: Remove exception filters from application, resolves #1304 --- app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt index fc3751c5..20ad46d9 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt @@ -27,7 +27,6 @@ import ca.allanwang.kau.utils.buildIsLollipopAndUp import com.bugsnag.android.Bugsnag import com.bumptech.glide.request.RequestOptions import com.bumptech.glide.signature.ApplicationVersionSignature -import com.google.android.exoplayer2.ExoPlaybackException import com.mikepenz.materialdrawer.util.AbstractDrawerImageLoader import com.mikepenz.materialdrawer.util.DrawerImageLoader import com.pitchedapps.frost.dbflow.CookiesDb @@ -48,7 +47,6 @@ import com.raizlabs.android.dbflow.runtime.ContentResolverNotifier import io.reactivex.exceptions.UndeliverableException import io.reactivex.plugins.RxJavaPlugins import java.net.SocketTimeoutException -import java.net.UnknownHostException import java.util.Random import kotlin.reflect.KClass @@ -166,10 +164,6 @@ class FrostApp : Application() { Bugsnag.beforeNotify { error -> when { - error.exception is UndeliverableException -> false - error.exception is ExoPlaybackException -> false - error.exception is SocketTimeoutException -> false - error.exception is UnknownHostException -> false error.exception.stackTrace.any { it.className.contains("XposedBridge") } -> false else -> true } -- cgit v1.2.3