diff --git a/app/src/main/java/com/duckduckgo/app/trackerdetection/blocklist/BlockList.kt b/app/src/main/java/com/duckduckgo/app/trackerdetection/blocklist/BlockList.kt index 627236a2c6b6..a751ec522ff9 100644 --- a/app/src/main/java/com/duckduckgo/app/trackerdetection/blocklist/BlockList.kt +++ b/app/src/main/java/com/duckduckgo/app/trackerdetection/blocklist/BlockList.kt @@ -20,7 +20,6 @@ import com.duckduckgo.anvil.annotations.ContributesRemoteFeature import com.duckduckgo.app.di.AppCoroutineScope import com.duckduckgo.app.trackerdetection.api.TrackerDataDownloader import com.duckduckgo.app.trackerdetection.blocklist.BlockList.Companion.EXPERIMENT_PREFIX -import com.duckduckgo.app.trackerdetection.blocklist.ExperimentTestAA.Cohorts.CONTROL import com.duckduckgo.common.utils.DispatcherProvider import com.duckduckgo.di.scopes.AppScope import com.duckduckgo.feature.toggles.api.ConversionWindow @@ -47,37 +46,31 @@ interface BlockList { fun self(): Toggle @Toggle.DefaultValue(false) - fun tdsNextExperimentBaseline(): Toggle + fun tdsNextExperimentBaselineBackup6(): Toggle @Toggle.DefaultValue(false) - fun tdsNextExperimentBaselineBackup(): Toggle + fun tdsNextExperimentBaselineBackup7(): Toggle @Toggle.DefaultValue(false) - fun tdsNextExperimentBaselineBackup2(): Toggle + fun tdsNextExperimentBaselineBackup8(): Toggle @Toggle.DefaultValue(false) - fun tdsNextExperimentBaselineBackup3(): Toggle + fun tdsNextExperimentBaselineBackup9(): Toggle @Toggle.DefaultValue(false) - fun tdsNextExperimentBaselineBackup4(): Toggle + fun tdsNextExperimentBaselineBackup10(): Toggle @Toggle.DefaultValue(false) - fun tdsNextExperimentBaselineBackup5(): Toggle - - @Toggle.DefaultValue(false) - fun tdsNextExperimentNov24(): Toggle - - @Toggle.DefaultValue(false) - fun tdsNextExperimentDec24(): Toggle + fun tdsNextExperimentMar25(): Toggle @Toggle.DefaultValue(false) - fun tdsNextExperimentJan25(): Toggle + fun tdsNextExperimentApr25(): Toggle @Toggle.DefaultValue(false) - fun tdsNextExperimentFeb25(): Toggle + fun tdsNextExperimentMay25(): Toggle @Toggle.DefaultValue(false) - fun tdsNextExperimentMar25(): Toggle + fun tdsNextExperimentJun25(): Toggle enum class Cohorts(override val cohortName: String) : CohortName { CONTROL("control"), @@ -123,12 +116,10 @@ class BlockListPrivacyConfigCallbackPlugin @Inject constructor( private val inventory: FeatureTogglesInventory, private val trackerDataDownloader: TrackerDataDownloader, @AppCoroutineScope private val coroutineScope: CoroutineScope, - private val experimentAA: ExperimentTestAA, private val dispatcherProvider: DispatcherProvider, ) : PrivacyConfigCallbackPlugin { override fun onPrivacyConfigDownloaded() { coroutineScope.launch(dispatcherProvider.io()) { - experimentAA.experimentTestAA().isEnabled(CONTROL) if (inventory.activeTdsFlag() != null) { trackerDataDownloader.downloadTds() .subscribeOn(Schedulers.io()) @@ -156,20 +147,3 @@ suspend fun FeatureTogglesInventory.activeTdsFlag(): Toggle? { it.featureName().name.startsWith(EXPERIMENT_PREFIX) && it.isEnabled() } } - -@ContributesRemoteFeature( - scope = AppScope::class, - featureName = "experimentTest", -) -interface ExperimentTestAA { - @Toggle.DefaultValue(false) - fun self(): Toggle - - @Toggle.DefaultValue(false) - fun experimentTestAA(): Toggle - - enum class Cohorts(override val cohortName: String) : CohortName { - CONTROL("control"), - TREATMENT("treatment"), - } -}