aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-01-04 00:03:36 -0500
committerAllan Wang <me@allanwang.ca>2019-01-04 00:03:36 -0500
commitf162d238502855f21722fe9583638bc46ad397ff (patch)
tree6451167474b7d620e5596e0b5f8fff9b73c22824 /app/src/main/kotlin/com
parent04ef20177ca24b77ca207e14397766196425cb4e (diff)
downloadfrost-f162d238502855f21722fe9583638bc46ad397ff.tar.gz
frost-f162d238502855f21722fe9583638bc46ad397ff.tar.bz2
frost-f162d238502855f21722fe9583638bc46ad397ff.zip
Remove exception filters from application, resolves #1304t2.2.0
Diffstat (limited to 'app/src/main/kotlin/com')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt6
1 files changed, 0 insertions, 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
}