Migrate FxA state
parent
8f50e2af5d
commit
0a05d40ee0
|
@ -23,10 +23,11 @@ class MigratingFenixApplication : FenixApplication() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
val migrator = FennecMigrator.Builder(this)
|
val migrator = FennecMigrator.Builder(this, this.components.analytics.crashReporter)
|
||||||
.migrateOpenTabs(this.components.core.sessionManager)
|
.migrateOpenTabs(this.components.core.sessionManager)
|
||||||
.migrateHistory(this.components.core.historyStorage)
|
.migrateHistory(this.components.core.historyStorage)
|
||||||
.migrateBookmarks(this.components.core.bookmarksStorage)
|
.migrateBookmarks(this.components.core.bookmarksStorage)
|
||||||
|
.migrateFxa(this.components.backgroundServices.accountManager)
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
migrator.migrateAsync()
|
migrator.migrateAsync()
|
||||||
|
|
Loading…
Reference in New Issue