[fenix] For https://github.com/mozilla-mobile/fenix/issues/27111 - Allow TCP in all releases. Control it from Nimbus.

After this change the TCP feature (and CFR) are enabled by default.
Rollout can be controlled through Nimbus.
pull/600/head
Mugurell 2 years ago committed by mergify[bot]
parent 62c6c3ec32
commit 0166d95f45

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

Loading…
Cancel
Save