[tor-commits] [Git][tpo/applications/fenix][tor-browser-96.3.0-11.0-1] 2 commits: Bug 40212: Disable all telemetry "brutally"
Matthew Finkel (@sysrqb)
gitlab at torproject.org
Fri May 6 16:06:11 UTC 2022
Matthew Finkel pushed to branch tor-browser-96.3.0-11.0-1 at The Tor Project / Applications / fenix
Commits:
fd471edf by aguestuser at 2022-05-03T17:27:09+02:00
Bug 40212: Disable all telemetry "brutally"
As a temporary fix for crashes in the telemetry code, we modified the
function that tells whether telemetry is enabled to always tall that it
is not.
- - - - -
f1f2ba80 by Matthew Finkel at 2022-05-06T16:06:09+00:00
Merge branch 'bug_40212' into 'tor-browser-96.3.0-11.0-1'
Bug 40212: Disabled all telemetry "brutally"
See merge request tpo/applications/fenix!147
- - - - -
1 changed file:
- app/src/main/java/org/mozilla/fenix/components/metrics/MetricController.kt
Changes:
=====================================
app/src/main/java/org/mozilla/fenix/components/metrics/MetricController.kt
=====================================
@@ -152,10 +152,7 @@ internal class ReleaseMetricController(
private fun isInitialized(type: MetricServiceType): Boolean = initialized.contains(type)
- private fun isTelemetryEnabled(type: MetricServiceType): Boolean = when (type) {
- MetricServiceType.Data -> isDataTelemetryEnabled()
- MetricServiceType.Marketing -> isMarketingDataTelemetryEnabled()
- }
+ private fun isTelemetryEnabled(@Suppress("UNUSED_PARAMETER") type: MetricServiceType): Boolean = false
@Suppress("LongMethod", "MaxLineLength")
private fun Fact.toEvent(): Event? = when {
View it on GitLab: https://gitlab.torproject.org/tpo/applications/fenix/-/compare/093d02e6985841a13638852b7fbdd349091ed1a8...f1f2ba80d0ff9e6e559aa3161ab0eb18019706ef
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/fenix/-/compare/093d02e6985841a13638852b7fbdd349091ed1a8...f1f2ba80d0ff9e6e559aa3161ab0eb18019706ef
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20220506/9a6ba234/attachment.htm>
More information about the tor-commits
mailing list