Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
PublicAndroidApps
Nebulo
Commits
332efb63
Commit
332efb63
authored
Oct 10, 2019
by
Daniel Wolf
Browse files
ANR-watchdog isn't required, Sentry has one built-in
parent
9c64d1a0
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
332efb63
...
...
@@ -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
...
...
app/build.gradle
View file @
332efb63
...
...
@@ -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'
...
...
app/src/main/java/com/frostnerd/smokescreen/SmokeScreen.kt
View file @
332efb63
...
...
@@ -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
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment