Bug 1804544 - Disable TCP by default in beta and release

fork
Mugurell 2 years ago committed by mergify[bot]
parent a479ac5b26
commit 4298ae9d96

@ -655,7 +655,7 @@ class Settings(private val appContext: Context) : PreferencesHolder {
) )
val enabledTotalCookieProtection: Boolean 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. * 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( var shouldShowTotalCookieProtectionCFR by lazyFeatureFlagPreference(
appContext.getPreferenceKey(R.string.pref_key_should_show_total_cookie_protection_popup), appContext.getPreferenceKey(R.string.pref_key_should_show_total_cookie_protection_popup),
featureFlag = true, featureFlag = true,
default = { mr2022Sections[Mr2022Section.TCP_CFR] == true }, default = { Config.channel.isNightlyOrDebug || mr2022Sections[Mr2022Section.TCP_CFR] == true },
) )
val blockCookiesSelectionInCustomTrackingProtection by stringPreference( val blockCookiesSelectionInCustomTrackingProtection by stringPreference(

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

Loading…
Cancel
Save