diff options
author | Allan Wang <me@allanwang.ca> | 2018-09-27 18:29:32 -0400 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2018-09-27 18:29:32 -0400 |
commit | d29202ea6beec2755c7babe20c55d85ff1017851 (patch) | |
tree | 7cfdfa7e998a7fd5d6d1e09addfee597a11ae9cc /app | |
parent | 7460935f32748b10f6b3fedf9e77a373a9010d05 (diff) | |
download | frost-d29202ea6beec2755c7babe20c55d85ff1017851.tar.gz frost-d29202ea6beec2755c7babe20c55d85ff1017851.tar.bz2 frost-d29202ea6beec2755c7babe20c55d85ff1017851.zip |
Ignore all xposed bugs
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt | 6 |
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 |