[fenix] No issue: Change first paint feature flag to nightly/debug
[gecko.git] / mobile / android / fenix / app / src / main / java / org / mozilla / fenix / FeatureFlags.kt
blob6ef25e4e210189cda21ae2a5d10197dae4b8e712
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 package org.mozilla.fenix
7 /**
8  * A single source for setting feature flags that are mostly based on build type.
9  */
10 object FeatureFlags {
11     /**
12      * Pull-to-refresh allows you to pull the web content down far enough to have the page to
13      * reload.
14      */
15     const val pullToRefreshEnabled = false
17     /**
18      * Allows edit of saved logins.
19      */
20     const val loginsEdit = true
22     /**
23      * Enable tab sync feature
24      */
25     const val syncedTabs = true
27     /**
28      * Enables new tab tray pref
29      */
30     val tabTray = Config.channel.isNightlyOrDebug
32     /**
33      * Enables gestures on the browser chrome that depend on a [SwipeGestureLayout]
34      */
35     val browserChromeGestures = Config.channel.isNightlyOrDebug
37     /**
38      * Enables viewing tab history
39      */
40     val tabHistory = Config.channel.isNightlyOrDebug
42     /**
43      * Enables the new search experience
44      */
45     val newSearchExperience = Config.channel.isDebug
47     /**
48      * Enables wait til first contentful paint
49      */
50     val waitUntilPaintToDraw = Config.channel.isNightlyOrDebug