[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4983: Fennec migration: Keep installed add-ons

pull/600/head
Christian Sadilek 5 years ago
parent e8454c418b
commit b3aab5f601

@ -58,9 +58,6 @@ class Components(private val context: Context) {
)
}
/**
* Add-on
*/
val addonCollectionProvider by lazy {
AddonCollectionProvider(context, core.client, maxCacheAgeInMinutes = DAY_IN_MINUTES)
}

@ -22,7 +22,11 @@ class MigratingFenixApplication : FenixApplication() {
this.components.core.passwordsEncryptionKey
)
.migrateFxa(this.components.backgroundServices.accountManager)
.migrateAddons(this.components.core.engine)
.migrateAddons(
this.components.core.engine,
this.components.addonCollectionProvider,
this.components.addonUpdater
)
.migrateTelemetryIdentifiers()
.build()
}

Loading…
Cancel
Save