1
0
Fork 0

Fix for #8024 - Provide activity class for the migration's service notification content intent.

master
Vlad Baicu 2020-01-31 20:23:04 +02:00 committed by Sebastian Kaspari
parent fc295b8855
commit 0fc9459d99
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ package org.mozilla.fenix
import mozilla.components.support.migration.AbstractMigrationService import mozilla.components.support.migration.AbstractMigrationService
import mozilla.components.support.migration.state.MigrationStore import mozilla.components.support.migration.state.MigrationStore
import org.mozilla.fenix.ext.components import org.mozilla.fenix.ext.components
import org.mozilla.fenix.migration.MigrationProgressActivity
/** /**
* Background service for running the migration from legacy Firefox for Android (Fennec). * Background service for running the migration from legacy Firefox for Android (Fennec).
@ -14,4 +15,5 @@ import org.mozilla.fenix.ext.components
class MigrationService : AbstractMigrationService() { class MigrationService : AbstractMigrationService() {
override val migrator by lazy { getMigratorFromApplication() } override val migrator by lazy { getMigratorFromApplication() }
override val store: MigrationStore by lazy { components.migrationStore } override val store: MigrationStore by lazy { components.migrationStore }
override val migrationActivity = MigrationProgressActivity::class.java
} }