1
0
Fork 0

remove suppress and unnecessary otherwise = private

master
Hakkı Kaan Çalışkan 2020-06-16 03:06:44 +03:00 committed by Emily Kager
parent 87a65d2445
commit bd85a9c399
1 changed files with 2 additions and 3 deletions

View File

@ -81,9 +81,8 @@ class BackgroundServices(
// Enabling this for all channels is tracked in https://github.com/mozilla-mobile/fenix/issues/6704
secureStateAtRest = Config.channel.isNightlyOrDebug
)
// If sync has been turned off on the server then disable syncing.
@Suppress("ConstantConditionIf")
@VisibleForTesting(otherwise = PRIVATE)
@VisibleForTesting
val supportedEngines = if (FeatureFlags.syncedTabs) {
setOf(SyncEngine.History, SyncEngine.Bookmarks, SyncEngine.Passwords, SyncEngine.Tabs)
} else {