From 69165b1558d9f90d61758f7a4483b99f45546fa4 Mon Sep 17 00:00:00 2001 From: jhugman Date: Tue, 11 Jun 2019 22:34:28 +0100 Subject: [PATCH] [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/3358 - disable feature-app-links (https://github.com/mozilla-mobile/fenix/pull/3359) --- CHANGELOG.md | 2 +- app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 639e47aa13..4331e11c75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,7 +54,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - #225 - Adds the ability to delete all browsing data - #2903 - Fixed crash when trying to rate the app on a devices without the play store app. - #2419 - Adds a deletion state to the history component -- #1570 - Enables the opening of links by other apps. +- #1570 - Enables the opening of links by other apps. Disabled in #3359. ### Changed - #2673 - Fixed can't upload files using third party apps from the file manager. diff --git a/app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt b/app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt index 26bffcfc2c..11c5e5a39e 100644 --- a/app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt +++ b/app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt @@ -237,6 +237,7 @@ class BrowserFragment : Fragment(), BackHandler, CoroutineScope { requireContext(), sessionManager = sessionManager, sessionId = customTabSessionId, + interceptLinkClicks = false, fragmentManager = requireFragmentManager() ), owner = this,