android-components / mozilla.components.support.migration / FennecMigrator / Builder / migrateFxa

migrateFxa

fun migrateFxa(accountManager: Lazy<FxaAccountManager>, version: Int = Migration.FxA.currentVersion): Builder (source)

Enable FxA state migration.

Parameters

accountManager - An instance of FxaAccountManager used for authenticating using a migrated account.

version - Version of the migration; defaults to the current version.