mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-11 13:11:01 +00:00
54773afb68
* For #2477 - Removes the feature flag for Force Enable Zoom * For #2477 - Fixes bug where zoom preference doesnt persist between launches
42 lines
1.3 KiB
Kotlin
42 lines
1.3 KiB
Kotlin
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.
|
|
*/
|
|
const val pullToRefreshEnabled = false
|
|
|
|
/**
|
|
* Integration of media features provided by `feature-media` component:
|
|
* - Background playback without the app getting killed
|
|
* - Media notification with play/pause controls
|
|
* - Audio Focus handling (pausing/resuming in agreement with other media apps)
|
|
* - Support for hardware controls to toggle play/pause (e.g. buttons on a headset)
|
|
*
|
|
* Behind nightly flag until all related Android Components issues are fixed and QA has signed
|
|
* off.
|
|
*
|
|
* https://github.com/mozilla-mobile/fenix/issues/4431
|
|
*/
|
|
const val mediaIntegration = true
|
|
|
|
/**
|
|
* Gives option in Settings to disable auto play media
|
|
*/
|
|
val autoPlayMedia = Config.channel.isNightlyOrDebug
|
|
|
|
/**
|
|
* Allows Progressive Web Apps to be installed to the device home screen.
|
|
*/
|
|
val progressiveWebApps = Config.channel.isNightlyOrDebug
|
|
|
|
/**
|
|
* Gives option in Settings to see logins and sync logins
|
|
*/
|
|
val logins = Config.channel.isNightlyOrDebug
|
|
}
|