From 2f19a82c91e76310025a306728ed10dbcec88ed6 Mon Sep 17 00:00:00 2001 From: Grisha Kruglov Date: Tue, 15 Oct 2019 11:00:31 -0700 Subject: [PATCH] [fenix] Revert sessionScopeToken to fix broken QR pairing flow --- .../java/org/mozilla/fenix/components/BackgroundServices.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/components/BackgroundServices.kt b/app/src/main/java/org/mozilla/fenix/components/BackgroundServices.kt index 4106faef0d..b3d6101965 100644 --- a/app/src/main/java/org/mozilla/fenix/components/BackgroundServices.kt +++ b/app/src/main/java/org/mozilla/fenix/components/BackgroundServices.kt @@ -30,7 +30,6 @@ import mozilla.components.service.fxa.ServerConfig import mozilla.components.service.fxa.SyncConfig import mozilla.components.service.fxa.SyncEngine import mozilla.components.service.fxa.manager.FxaAccountManager -import mozilla.components.service.fxa.manager.SCOPE_SESSION import mozilla.components.service.fxa.manager.SCOPE_SYNC import mozilla.components.service.fxa.sync.GlobalSyncableStoreProvider import mozilla.components.support.base.log.logger.Logger @@ -159,9 +158,7 @@ class BackgroundServices( // during authentication unless we explicitly specify it below. // This is a good example of an information leak at the API level. // See https://github.com/mozilla-mobile/android-components/issues/3732 - SCOPE_SYNC, - // Necessary to enable "Manage Account" functionality. - SCOPE_SESSION + SCOPE_SYNC ) ).also { accountManager -> // TODO this needs to change once we have a SyncManager