Merge #7034
7034: Run migration in background service. r=grigoryk a=pocmo In order to avoid a half done migration we are moving the migration to a background service (that is running in the "foreground"). This is the Fenix part of: https://github.com/mozilla-mobile/android-components/issues/4879 Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>staging
commit
b7fd4ed0d7
@ -0,0 +1,14 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
package org.mozilla.fenix
|
||||
|
||||
import mozilla.components.support.migration.AbstractMigrationService
|
||||
|
||||
/**
|
||||
* Background service for running the migration from legacy Firefox for Android (Fennec).
|
||||
*/
|
||||
class MigrationService : AbstractMigrationService() {
|
||||
override val migrator by lazy { getMigratorFromApplication() }
|
||||
}
|
Loading…
Reference in New Issue