Matthew Finkel pushed to branch tor-browser-96.3.0-11.0-1 at The Tor Project / Applications / fenix

Commits:

1 changed file:

Changes:

  • app/src/main/java/org/mozilla/fenix/components/metrics/MetricController.kt
    ... ... @@ -152,10 +152,7 @@ internal class ReleaseMetricController(
    152 152
     
    
    153 153
         private fun isInitialized(type: MetricServiceType): Boolean = initialized.contains(type)
    
    154 154
     
    
    155
    -    private fun isTelemetryEnabled(type: MetricServiceType): Boolean = when (type) {
    
    156
    -        MetricServiceType.Data -> isDataTelemetryEnabled()
    
    157
    -        MetricServiceType.Marketing -> isMarketingDataTelemetryEnabled()
    
    158
    -    }
    
    155
    +    private fun isTelemetryEnabled(@Suppress("UNUSED_PARAMETER") type: MetricServiceType): Boolean = false
    
    159 156
     
    
    160 157
         @Suppress("LongMethod", "MaxLineLength")
    
    161 158
         private fun Fact.toEvent(): Event? = when {