Commit 332efb63 authored by Daniel Wolf's avatar Daniel Wolf
Browse files

ANR-watchdog isn't required, Sentry has one built-in

parent 9c64d1a0
......@@ -132,8 +132,6 @@ This work contains third-party content, namely:
- [Material Design Icons](https://material.io/tools/icons/)
- License: [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
- The notification and launcher icons are remixes of the cloud icon
- [ANR-WatchDog](https://github.com/SalomonBrys/ANR-WatchDog)
- License: [MIT](https://opensource.org/licenses/MIT)
- [Font Awesome icons](https://fontawesome.com/)
- License: Font Awesome Pro License, held by Daniel Wolf
- [Weblate](https://weblate.org) for managing translations
......
......@@ -129,7 +129,6 @@ dependencies {
testImplementation "androidx.room:room-testing:$room_version"
implementation 'io.sentry:sentry-android:1.7.27'
implementation 'com.github.anrwatchdog:anrwatchdog:1.4.0'
implementation 'com.github.jorgecastilloprz:fabprogresscircle:1.01@aar'
implementation 'com.squareup.leakcanary:leaksentry:2.0-alpha-3'
......
......@@ -12,7 +12,6 @@ import com.frostnerd.smokescreen.activity.PinActivity
import com.frostnerd.smokescreen.database.AppDatabase
import com.frostnerd.smokescreen.util.DatasavingSentryEventHelper
import com.frostnerd.smokescreen.util.Notifications
import com.github.anrwatchdog.ANRWatchDog
import io.sentry.Sentry
import io.sentry.android.AndroidSentryClientFactory
import io.sentry.event.User
......@@ -88,9 +87,6 @@ class SmokeScreen : Application() {
Thread.setDefaultUncaughtExceptionHandler(customUncaughtExceptionHandler)
super.onCreate()
log("Application created.")
ANRWatchDog().setANRListener {
log(RuntimeException(it))
}
LeakSentry.refWatcher.watch(this)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment