[fenix] Bug 1791998 - Disable TCP popup when running performance tests. (https://github.com/mozilla-mobile/fenix/pull/27451)

* Disable TCP popup when running performance tests.

* Run some perf tests.

* Undo testing changes.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
pull/600/head
Gregory Mierzwinski 2 years ago committed by GitHub
parent df90212000
commit f9995a16af

@ -34,6 +34,7 @@ object Performance {
disableOnboarding(context)
disableTrackingProtectionPopups(context)
disableFirstTimePWAPopup(context)
disableTCPPopup(context)
}
/**
@ -85,4 +86,11 @@ object Performance {
private fun disableFirstTimePWAPopup(context: Context) {
context.components.settings.userKnowsAboutPwas = true
}
/**
* Disables the TCP popup.
*/
private fun disableTCPPopup(context: Context) {
context.components.settings.shouldShowTotalCookieProtectionCFR = false
}
}

Loading…
Cancel
Save