Closes #4983: Fennec migration: Keep installed add-ons
parent
fb80754a4e
commit
d10a30e356
|
@ -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…
Reference in New Issue