Loading
Bug 2038991 - Update Cache when calling register_previous_gecko_pref_states (#7369)
Bug 2021137 removed end_initialize and set `writer.commit()` to prevent a loop. However, this change had a side-effect of a stale cache. This patch fixes it by: * Adding a param of `update_gecko_prefs` to `commit_and_update` * Having `register_previous_gecko_pref_states` call `commit_and_update` with `update_gecko_prefs=false` * Updating `map_gecko_prefs_to_enrollment_slugs_and_update_store` to take a param of `update_gecko_prefs`, when false, it will not set information with Gecko