GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit 3b15cf66 authored by Matthew Finkel's avatar Matthew Finkel

Bug 34338: Disable the crash reporter

parent 4fe29259
......@@ -79,7 +79,7 @@ class Analytics(
appName = context.getString(R.string.app_name),
organizationName = "Mozilla"
),
enabled = true,
enabled = !isDataColectionDisabled(),
nonFatalCrashIntent = pendingIntent
)
}
......@@ -99,6 +99,7 @@ class Analytics(
}
}
fun isDataColectionDisabled() = BuildConfig.DATA_COLLECTION_DISABLED
fun isSentryEnabled() = !BuildConfig.SENTRY_TOKEN.isNullOrEmpty()
private fun getSentryProjectUrl(): String? {
......
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