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