Skip to content

Commit c2a7489

Browse files
Bug 2046584 - Remove getPreviousGeckoPrefStates from public NimbusClient API (#7412)
1 parent f89acd0 commit c2a7489

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## Nimbus
66

77
- Enrollment change events (visible to the UDL) now include the feature IDs of the features involved when possible. ([#7391](https://github.com/mozilla/application-services/pull/7391/))
8-
8+
- Removed NimbusInterface.getPreviousGeckoPrefsState since it is unimplemented and the underlying SDK method is only used by tests. ([#7412](https://github.com/mozilla/application-services/pull/7412/))
99
## 🔧 What's Fixed 🔧
1010

1111
### Logins

components/nimbus/android/src/main/java/org/mozilla/experiments/nimbus/NimbusInterface.kt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -208,16 +208,6 @@ interface NimbusInterface : FeaturesInterface, NimbusMessagingInterface, NimbusE
208208
geckoPrefStates: List<GeckoPrefState>,
209209
) = Unit
210210

211-
/**
212-
* Retrieves a list of previous states, if available, on an enrolled experiment, from a given slug.
213-
*
214-
* @param experimentSlug The slug of the experiment.
215-
* @return The previous Gecko pref states of the given slug. Will return null if not available or invalid slug.
216-
*/
217-
fun getPreviousGeckoPrefStates(
218-
experimentSlug: String,
219-
): List<PreviousGeckoPrefState>? = null
220-
221211
/**
222212
* Reset internal state in response to application-level telemetry reset.
223213
* Consumers should call this method when the user resets the telemetry state of the

0 commit comments

Comments
 (0)