Bug 1796434 - Part 2. Apply display-mode in Fenix's PWA.

fenix/116.0
Makoto Kato 2 years ago committed by mergify[bot]
parent e73a630bd5
commit 22238a08b6

@ -23,6 +23,7 @@ import mozilla.components.feature.contextmenu.ContextMenuCandidate
import mozilla.components.feature.customtabs.CustomTabWindowFeature import mozilla.components.feature.customtabs.CustomTabWindowFeature
import mozilla.components.feature.pwa.feature.ManifestUpdateFeature import mozilla.components.feature.pwa.feature.ManifestUpdateFeature
import mozilla.components.feature.pwa.feature.WebAppActivityFeature import mozilla.components.feature.pwa.feature.WebAppActivityFeature
import mozilla.components.feature.pwa.feature.WebAppContentFeature
import mozilla.components.feature.pwa.feature.WebAppHideToolbarFeature import mozilla.components.feature.pwa.feature.WebAppHideToolbarFeature
import mozilla.components.feature.pwa.feature.WebAppSiteControlsFeature import mozilla.components.feature.pwa.feature.WebAppSiteControlsFeature
import mozilla.components.support.base.feature.UserInteractionHandler import mozilla.components.support.base.feature.UserInteractionHandler
@ -126,6 +127,11 @@ class ExternalAppBrowserFragment : BaseBrowserFragment(), UserInteractionHandler
components.core.icons, components.core.icons,
manifest, manifest,
), ),
WebAppContentFeature(
store = requireComponents.core.store,
tabId = customTabSessionId,
manifest,
),
ManifestUpdateFeature( ManifestUpdateFeature(
activity.applicationContext, activity.applicationContext,
requireComponents.core.store, requireComponents.core.store,

Loading…
Cancel
Save