brizental pushed to branch tor-browser-153.1.0esr-16.0-1 at The Tor Project / Applications / Tor Browser Commits: 188d34fa by Beatriz Rizental at 2026-08-26T19:01:14+02:00 fixup! [android] Disable features and functionality Bug 45145: Disable app links feature This feature starts an observer to watch for potential redirects to other apps. This commit prevents that observer from ever starting. - - - - - 1 changed file: - mobile/android/fenix/app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt Changes: ===================================== mobile/android/fenix/app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt ===================================== @@ -433,33 +433,6 @@ abstract class BaseBrowserFragment : initializeUI(view) - appLinksFeature.set( - feature = AppLinksFeature( - context = requireContext(), - store = requireComponents.core.store, - fragmentManager = parentFragmentManager, - sessionId = customTabSessionId, - dialog = appLinksPromptDialog(), - launchInApp = { requireComponents.settings.shouldOpenLinksInApp(customTabSessionId != null) }, - loadUrlUseCase = requireComponents.useCases.sessionUseCases.loadUrl, - shouldPrompt = { requireComponents.settings.shouldPromptOpenLinksInApp() }, - alwaysOpenCheckboxAction = { - requireComponents.settings.openLinksInExternalApp = - requireContext().getString(R.string.pref_key_open_links_in_apps_always) - }, - failedToLaunchAction = { fallbackUrl -> - fallbackUrl?.let { - val appLinksUseCases = requireComponents.useCases.appLinksUseCases - val getRedirect = appLinksUseCases.appLinkRedirect - val redirect = getRedirect.invoke(fallbackUrl) - appLinksUseCases.openAppLink.invoke(redirect.appIntent) - } - }, - ), - owner = this, - view = binding.root, - ) - if (customTabSessionId == null) { // We currently only need this observer to navigate to home // in case all tabs have been removed on startup. No need to View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/188d34fa... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/188d34fa... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
brizental (@brizental)