Skip to content
Snippets Groups Projects
Commit a6f6da5b authored by kr328's avatar kr328
Browse files

Chore: remove unused check

parent f271ba3d
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ import com.microsoft.appcenter.crashes.ingestion.models.ErrorAttachmentLog ...@@ -8,7 +8,7 @@ import com.microsoft.appcenter.crashes.ingestion.models.ErrorAttachmentLog
object Tracker { object Tracker {
fun initialize(application: Application) { fun initialize(application: Application) {
if (BuildConfig.APP_CENTER_KEY != null && !BuildConfig.DEBUG) { if (!BuildConfig.DEBUG) {
AppCenter.start( AppCenter.start(
application, application,
BuildConfig.APP_CENTER_KEY, BuildConfig.APP_CENTER_KEY,
...@@ -18,7 +18,7 @@ object Tracker { ...@@ -18,7 +18,7 @@ object Tracker {
} }
fun uploadLogcat(logcat: String) { fun uploadLogcat(logcat: String) {
if (BuildConfig.APP_CENTER_KEY != null && !BuildConfig.DEBUG) { if (!BuildConfig.DEBUG) {
if (logcat.isNotBlank()) { if (logcat.isNotBlank()) {
Crashes.trackError( Crashes.trackError(
RuntimeException(), RuntimeException(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment