aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-09-27 18:29:32 -0400
committerAllan Wang <me@allanwang.ca>2018-09-27 18:29:32 -0400
commitd29202ea6beec2755c7babe20c55d85ff1017851 (patch)
tree7cfdfa7e998a7fd5d6d1e09addfee597a11ae9cc /app/src/main/kotlin/com
parent7460935f32748b10f6b3fedf9e77a373a9010d05 (diff)
downloadfrost-d29202ea6beec2755c7babe20c55d85ff1017851.tar.gz
frost-d29202ea6beec2755c7babe20c55d85ff1017851.tar.bz2
frost-d29202ea6beec2755c7babe20c55d85ff1017851.zip
Ignore all xposed bugs
Diffstat (limited to 'app/src/main/kotlin/com')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
index ae4360a5..dd6a0c40 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
@@ -81,6 +81,12 @@ class FrostApp : Application() {
Bugsnag.setAutoCaptureSessions(true)
Bugsnag.setUserId(Prefs.frostId)
+ Bugsnag.beforeNotify { error ->
+ when {
+ error.exception.stackTrace.any { it.className.contains("XposedBridge") } -> false
+ else -> true
+ }
+ }
}
KL.shouldLog = { BuildConfig.DEBUG }
Prefs.verboseLogging = false