Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ class QuestApplication :
override fun onCreate() {
super<Application>.onCreate()

// Detect input timeout ANRs
ANRWatchDog().start()
initANRWatcher()

if (BuildConfig.DEBUG) {
Timber.plant(Timber.DebugTree())
Expand Down Expand Up @@ -130,6 +129,11 @@ class QuestApplication :
}
}

private fun initANRWatcher() {
// Detect input timeout ANRs
ANRWatchDog().setANRListener { Timber.e(it) }.start()
}

override fun getWorkManagerConfiguration(): Configuration =
Configuration.Builder()
.setMinimumLoggingLevel(android.util.Log.INFO)
Expand Down