From 64418cbbd33832b00e59ef17cca4a575bc0f37b8 Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Tue, 30 Jul 2019 13:28:27 +0200 Subject: [PATCH] Issue #3944: Enable link interception (AppLinksFeature) in sample browser. --- .../java/org/mozilla/samples/browser/BaseBrowserFragment.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/browser/src/main/java/org/mozilla/samples/browser/BaseBrowserFragment.kt b/samples/browser/src/main/java/org/mozilla/samples/browser/BaseBrowserFragment.kt index 919cb896845..e33ac7a2826 100644 --- a/samples/browser/src/main/java/org/mozilla/samples/browser/BaseBrowserFragment.kt +++ b/samples/browser/src/main/java/org/mozilla/samples/browser/BaseBrowserFragment.kt @@ -172,7 +172,8 @@ abstract class BaseBrowserFragment : Fragment(), BackHandler { context = requireContext(), sessionManager = components.sessionManager, sessionId = sessionId, - fragmentManager = requireFragmentManager() + fragmentManager = requireFragmentManager(), + interceptLinkClicks = true ), owner = this, view = layout