1
0
Fork 0

Closes #4983: Fennec migration: Keep installed add-ons

master
Christian Sadilek 2020-02-04 14:56:02 -05:00
parent fb80754a4e
commit d10a30e356
2 changed files with 5 additions and 4 deletions

View File

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

View File

@ -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()
}