Commit 71ddf94
committed
Bug 2045100 - Do not apply pending experiments after toggling experiment/rollout participation
Changing experiment or rollout participation already triggers an
evolution based on the current set of cached experiments. Calling
`applyLocalExperimentsOnThisThread()` does a second evolution, with the
set of pending experiments.
Additionally, these properties were calling
`nimbusClient.set{Experiment,Rollout}Participation` instead of the
Kotlin-based helpers `set{Experiment,Rollout}ParticipationOnThisThread`
which are responsible for submitting telemetry. This has been corrected.1 parent f2033b5 commit 71ddf94
2 files changed
Lines changed: 1 addition & 2 deletions
File tree
- components/nimbus/android/src/main/java/org/mozilla/experiments/nimbus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
170 | 169 | | |
171 | 170 | | |
172 | 171 | | |
| |||
175 | 174 | | |
176 | 175 | | |
177 | 176 | | |
178 | | - | |
179 | 177 | | |
180 | 178 | | |
181 | 179 | | |
| |||
0 commit comments