[Git][tpo/applications/fenix][tor-browser-96.3.0-11.0-1] 2 commits: Bug 40212: Disable all telemetry "brutally"

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/093d02e698584... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/fenix/-/compare/093d02e698584... You're receiving this email because of your account on gitlab.torproject.org.
participants (1)
-
Matthew Finkel (@sysrqb)