2019-07-19 00:20:12 +00: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 12:54:56 +00:00
|
|
|
const val pullToRefreshEnabled = false
|
2019-08-13 20:02:20 +00:00
|
|
|
|
2020-01-13 18:38:32 +00: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 00:20:58 +00:00
|
|
|
/**
|
|
|
|
* Enables dynamic bottom toolbar
|
|
|
|
*/
|
|
|
|
val dynamicBottomToolbar = Config.channel.isNightlyOrDebug
|
|
|
|
|
2020-01-16 23:05:01 +00:00
|
|
|
/**
|
2020-04-06 21:29:52 +00:00
|
|
|
* Enables deleting individual tracking protection exceptions.
|
2020-01-16 23:05:01 +00:00
|
|
|
*/
|
2020-04-06 21:29:52 +00:00
|
|
|
val deleteIndividualTrackingProtectionExceptions = Config.channel.isNightlyOrDebug
|
2020-01-22 16:55:53 +00:00
|
|
|
|
2020-03-12 01:11:33 +00: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 05:53:26 +00:00
|
|
|
const val webPushIntegration = true
|
2020-04-07 05:15:04 +00:00
|
|
|
|
2020-04-22 21:29:43 +00:00
|
|
|
/**
|
|
|
|
* Enables tip feature
|
|
|
|
*/
|
|
|
|
val tips = Config.channel.isDebug
|
2019-07-19 00:20:12 +00:00
|
|
|
}
|