Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matthew Finkel
fenix
Commits
40b142ea
Commit
40b142ea
authored
Aug 13, 2020
by
Matthew Finkel
Browse files
Bug 34338: Disable the crash reporter
parent
34892ff5
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/org/mozilla/fenix/components/Analytics.kt
View file @
40b142ea
...
...
@@ -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
?
{
...
...
Write
Preview
Supports
Markdown
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