We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fa4a52 commit 96261b4Copy full SHA for 96261b4
app/src/main/kotlin/org/emunix/insteadlauncher/InsteadLauncher.kt
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (c) 2018-2020 Boris Timofeev <btimofeev@emunix.org>
+ * Copyright (c) 2018-2021 Boris Timofeev <btimofeev@emunix.org>
3
* Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
4
*/
5
@@ -75,7 +75,8 @@ class InsteadLauncher: Application() {
75
76
override fun attachBaseContext(base: Context?) {
77
super.attachBaseContext(base)
78
- ACRA.init(this)
+ if (!BuildConfig.DEBUG)
79
+ ACRA.init(this)
80
}
81
82
@TargetApi(26)
0 commit comments