Closed Bug 2024955 Opened 2 months ago Closed 2 months ago

Unenroll from observer when preference is changed

Categories

(Firefox for Android :: Experimentation and Telemetry, task)

All
Android
task

Tracking

()

RESOLVED FIXED
151 Branch
Tracking Status
firefox151 --- fixed

People

(Reporter: olivia, Assigned: olivia)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group6])

Attachments

(1 file)

onPreferenceChange should unenroll from observation when unenrollForGeckoPref is called.

When calling unenrollForGeckoPref, which unenrolls from the experiment
on the Nimbus side, we also need to clean up state on the Fenix side.

This patch:

  • Adds a way to list what other prefs are associated with a given experiment.
  • Only sends unenrollForGeckoPref once when handling errors on multi-pref experiments.
  • Removes the pref and associated sibling experiment prefs from observation when the pref changes.
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: