Bug 1804544 - Disable TCP by default in beta and release

fork
Mugurell 1 year ago committed by mergify[bot]
parent a479ac5b26
commit 4298ae9d96

@ -655,7 +655,7 @@ class Settings(private val appContext: Context) : PreferencesHolder {
)
val enabledTotalCookieProtection: Boolean
get() = mr2022Sections[Mr2022Section.TCP_FEATURE] == true
get() = Config.channel.isNightlyOrDebug || mr2022Sections[Mr2022Section.TCP_FEATURE] == true
/**
* Indicates if the total cookie protection CRF should be shown.
@ -663,7 +663,7 @@ class Settings(private val appContext: Context) : PreferencesHolder {
var shouldShowTotalCookieProtectionCFR by lazyFeatureFlagPreference(
appContext.getPreferenceKey(R.string.pref_key_should_show_total_cookie_protection_popup),
featureFlag = true,
default = { mr2022Sections[Mr2022Section.TCP_CFR] == true },
default = { Config.channel.isNightlyOrDebug || mr2022Sections[Mr2022Section.TCP_CFR] == true },
)
val blockCookiesSelectionInCustomTrackingProtection by stringPreference(

@ -193,8 +193,8 @@ features:
"sync-cfr": true,
"wallpapers-selection-tool": true,
"jump-back-in-cfr": true,
"tcp-cfr": true,
"tcp-feature": true
"tcp-cfr": false,
"tcp-feature": false,
}
defaults:
- channel: developer

Loading…
Cancel
Save