2019-07-19 02:20:12 +02:00
|
|
|
package org.mozilla.fenix
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A single source for setting feature flags that are mostly based on build type.
|
|
|
|
*/
|
|
|
|
object FeatureFlags {
|
|
|
|
/**
|
|
|
|
* Pull-to-refresh allows you to pull the web content down far enough to have the page to
|
|
|
|
* reload.
|
|
|
|
*/
|
2020-04-07 14:54:56 +02:00
|
|
|
const val pullToRefreshEnabled = false
|
2019-08-13 22:02:20 +02:00
|
|
|
|
2020-01-13 19:38:32 +01:00
|
|
|
/**
|
|
|
|
* Disables FxA Application Services Web Channels feature
|
|
|
|
*/
|
|
|
|
const val asFeatureWebChannelsDisabled = false
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Disables FxA Application Services Sync feature
|
|
|
|
*/
|
|
|
|
const val asFeatureSyncDisabled = false
|
|
|
|
|
2020-02-26 01:20:58 +01:00
|
|
|
/**
|
|
|
|
* Enables dynamic bottom toolbar
|
|
|
|
*/
|
|
|
|
val dynamicBottomToolbar = Config.channel.isNightlyOrDebug
|
|
|
|
|
2020-03-12 02:11:33 +01:00
|
|
|
/**
|
|
|
|
* Integration of push support provided by `feature-push` component into the Gecko engine.
|
|
|
|
*
|
|
|
|
* Behind nightly flag until all fatal bugs are resolved.
|
|
|
|
*
|
|
|
|
* https://github.com/mozilla-mobile/fenix/issues/9059
|
|
|
|
*/
|
2020-04-21 07:53:26 +02:00
|
|
|
const val webPushIntegration = true
|
2020-04-07 07:15:04 +02:00
|
|
|
|
2020-04-22 23:29:43 +02:00
|
|
|
/**
|
|
|
|
* Enables tip feature
|
|
|
|
*/
|
|
|
|
val tips = Config.channel.isDebug
|
2020-04-30 22:53:10 +02:00
|
|
|
|
2020-05-13 00:32:01 +02:00
|
|
|
/**
|
|
|
|
* Allows edit of saved logins.
|
|
|
|
*/
|
|
|
|
val loginsEdit = Config.channel.isNightlyOrDebug
|
|
|
|
|
2020-04-30 22:53:10 +02:00
|
|
|
/**
|
|
|
|
* Enables new tab tray pref
|
|
|
|
*/
|
2020-05-01 19:46:02 +02:00
|
|
|
val tabTray = Config.channel.isNightlyOrDebug
|
2019-07-19 02:20:12 +02:00
|
|
|
}
|