Open Bug 1912119 Opened 1 year ago Updated 1 year ago

Implement the shared preferences listener for Cookie Banners Blocker CFR

Categories

(Firefox for Android :: Tooling, task)

All
Android
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

Assignee: nobody → npoon
Blocks: 1877567
Status: NEW → ASSIGNED
Depends on: 1909337
Severity: -- → N/A
Whiteboard: [fxdroid][group4]
Summary: Implement the shared preferences listener for Cookie Banners Private Mode CFR → Implement the shared preferences listener for Cookie Banners Blocker CFR
See Also: → 1908225
See Also: → 1916830
See Also: → 1919874
Blocks: 1924142
No longer blocks: 1877567
Assignee: npoon → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.