Bug 1845104 - Open links in the current app from a CustomTab even when OpenInApp settings is set to 'never'

fenix/117.0
Titouan Thibaud 11 months ago committed by mergify[bot]
parent 9284029f46
commit a19d1ce4a5

@ -1224,6 +1224,13 @@ abstract class BaseBrowserFragment :
components.useCases.sessionUseCases.reload()
}
hideToolbar()
context?.settings()?.shouldOpenLinksInApp(customTabSessionId != null)
?.let { openLinksInExternalApp ->
components.services.appLinksInterceptor.updateLaunchInApp {
openLinksInExternalApp
}
}
}
@CallSuper

Loading…
Cancel
Save