For #2818 - Enable PiP for all builds
This commit is contained in:
parent
95f26f1fdc
commit
6457a02a82
|
@ -39,11 +39,6 @@ object FeatureFlags {
|
|||
*/
|
||||
const val webPushIntegration = true
|
||||
|
||||
/**
|
||||
* Enables picture-in-picture feature
|
||||
*/
|
||||
val pictureInPicture = Config.channel.isNightlyOrDebug
|
||||
|
||||
/**
|
||||
* Enables tip feature
|
||||
*/
|
||||
|
|
|
@ -327,14 +327,12 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler, Session
|
|||
view = view
|
||||
)
|
||||
|
||||
if (FeatureFlags.pictureInPicture) {
|
||||
pipFeature = PictureInPictureFeature(
|
||||
requireComponents.core.sessionManager,
|
||||
requireActivity(),
|
||||
customTabSessionId,
|
||||
::pipModeChanged
|
||||
)
|
||||
}
|
||||
pipFeature = PictureInPictureFeature(
|
||||
requireComponents.core.sessionManager,
|
||||
requireActivity(),
|
||||
customTabSessionId,
|
||||
::pipModeChanged
|
||||
)
|
||||
|
||||
appLinksFeature.set(
|
||||
feature = AppLinksFeature(
|
||||
|
|
Loading…
Reference in New Issue
Block a user