Skip to content

Commit

Permalink
For mozilla-mobile#6704: Enable FxA state encryption for all channels
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinTimisica committed Jan 22, 2020
1 parent e25ee98 commit 84f5a3b
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import mozilla.components.service.fxa.manager.SCOPE_SYNC
import mozilla.components.service.fxa.sync.GlobalSyncableStoreProvider
import mozilla.components.service.sync.logins.SyncableLoginsStore
import mozilla.components.support.base.log.logger.Logger
import org.mozilla.fenix.Config
import org.mozilla.fenix.FeatureFlags
import org.mozilla.fenix.R
import org.mozilla.fenix.components.metrics.Event
Expand Down Expand Up @@ -72,9 +71,8 @@ class BackgroundServices(
capabilities = setOf(DeviceCapability.SEND_TAB),

// Enable encryption for account state on supported API levels (23+).
// Just on Nightly and local builds for now.
// Enabling this for all channels is tracked in https://github.com/mozilla-mobile/fenix/issues/6704
secureStateAtRest = Config.channel.isNightlyOrDebug
// Enabling it for all channels
secureStateAtRest = true
)
// If sync has been turned off on the server then disable syncing.
@Suppress("ConstantConditionIf")
Expand Down

0 comments on commit 84f5a3b

Please sign in to comment.