Implement the shared preferences listener for Cookie Banners Blocker CFR
Categories
(Firefox for Android :: Tooling, task)
Tracking
()
People
(Reporter: npoon, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][group4])
Due to the behaviour being slightly more complicated for this CFR, we have deferred its shared preference listener implementation, in CfrPreferencesRepository until this bug. This CFR is more complicated as it relies on 2 pref values (instead of just 1). Thus, when toggling / resetting CFRs, we cannot simply just invert a pref. We could have the case where only 1 pref is false and the other is true and only 1 pref would need to be toggled to enable the CFR. Investigate how to implement the logic for this CFR.
As a result, this ticket also includes adding this CFR to the CfrToolsStore and updating the CFR Tools UI in CfrTools.kt.
Also don't forget to update / write tests for CfrToolsPreferencesMiddlewareTest.kt and update the tests for DefaultCfrPreferencesRepository.kt
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
Description
•