Bug 1812461 - Update CFR Popups to be sticky

CFRPopup default properties have been changed so a popup does not
dismiss anymore on a click outside or a back press.
Additionally, popups will reappear if the screen is rotated and
the popup was not dismissed.
fenix/119.0
DreVla 2 years ago committed by mergify[bot]
parent db09db8d2e
commit 9e34847daa

@ -233,7 +233,10 @@ class BrowserToolbarCFRPresenter(
),
onDismiss = {
when (it) {
true -> TrackingProtection.tcpCfrExplicitDismissal.record(NoExtras())
true -> {
TrackingProtection.tcpCfrExplicitDismissal.record(NoExtras())
settings.shouldShowTotalCookieProtectionCFR = false
}
false -> TrackingProtection.tcpCfrImplicitDismissal.record(NoExtras())
}
},

Loading…
Cancel
Save