From 74f7625c8ac338758346559cabfcea09428b0704 Mon Sep 17 00:00:00 2001 From: brave-builds Date: Wed, 18 Sep 2024 00:57:10 +0000 Subject: [PATCH] Uplift of #25609 (squashed) to beta --- android/java/org/chromium/chrome/browser/BraveIntentHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/android/java/org/chromium/chrome/browser/BraveIntentHandler.java b/android/java/org/chromium/chrome/browser/BraveIntentHandler.java index 568c26618a2e..d2a4418564c0 100644 --- a/android/java/org/chromium/chrome/browser/BraveIntentHandler.java +++ b/android/java/org/chromium/chrome/browser/BraveIntentHandler.java @@ -37,6 +37,7 @@ protected static String extractUrlFromIntent(Intent intent) { String url = IntentHandler.getUrlFromVoiceSearchResult(intent); if (url == null) url = getUrlForCustomTab(intent); if (url == null) url = getUrlForWebapp(intent); + if (url == null) url = IntentHandler.getUrlFromShareIntent(intent); if (url == null) url = intent.getDataString(); if (url == null) url = getUrlFromText(intent); if (url == null) url = getWebSearchUrl(intent);