2020-07-27 16:37:09 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
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-09-14 15:26:08 +00:00
|
|
|
const val pullToRefreshEnabled = true
|
2019-08-13 20:02:20 +00:00
|
|
|
|
2020-05-12 22:32:01 +00:00
|
|
|
/**
|
2020-08-18 05:45:48 +00:00
|
|
|
* Shows Synced Tabs in the tabs tray.
|
|
|
|
*
|
|
|
|
* Tracking issue: https://github.com/mozilla-mobile/fenix/issues/13892
|
2020-05-12 22:32:01 +00:00
|
|
|
*/
|
2020-08-18 05:45:48 +00:00
|
|
|
val syncedTabsInTabsTray = Config.channel.isNightlyOrDebug
|
2020-05-12 22:32:01 +00:00
|
|
|
|
2020-04-30 20:53:10 +00:00
|
|
|
/**
|
2020-08-04 17:35:08 +00:00
|
|
|
* Enables the new search experience
|
2020-04-30 20:53:10 +00:00
|
|
|
*/
|
2020-08-25 19:18:18 +00:00
|
|
|
const val newSearchExperience = true
|
2020-06-25 21:52:52 +00:00
|
|
|
|
|
|
|
/**
|
2020-08-18 21:55:52 +00:00
|
|
|
* Enables showing the top frequently visited sites
|
2020-06-25 21:52:52 +00:00
|
|
|
*/
|
2020-09-08 18:30:13 +00:00
|
|
|
const val topFrecentSite = true
|
2020-07-28 16:41:51 +00:00
|
|
|
|
|
|
|
/**
|
2020-05-05 06:29:33 +00:00
|
|
|
* Enables wait til first contentful paint
|
2020-07-28 16:41:51 +00:00
|
|
|
*/
|
2020-09-03 02:33:19 +00:00
|
|
|
val waitUntilPaintToDraw = true
|
2020-08-04 17:35:08 +00:00
|
|
|
|
|
|
|
/**
|
2020-08-07 05:03:07 +00:00
|
|
|
* Enables downloads with external download managers.
|
2020-08-04 17:35:08 +00:00
|
|
|
*/
|
2020-09-03 02:33:19 +00:00
|
|
|
val externalDownloadManager = true
|
2020-05-05 06:29:33 +00:00
|
|
|
|
2019-07-19 00:20:12 +00:00
|
|
|
}
|