diff --git a/build/cromite_patches_list.txt b/build/cromite_patches_list.txt index ef453952..b032b0e0 100644 --- a/build/cromite_patches_list.txt +++ b/build/cromite_patches_list.txt @@ -292,6 +292,7 @@ Ask-for-restart-on-connection-change.patch Bubble-Locking-on-UI-DevTools.patch Add-a-GN-flag-to-disable-trybot-verification.patch Override-the-MV2-deprecation.patch +Enable-ClickToCall.patch # temporary or wip patches Temp-PerformanceNavigationTiming-privacy-fix.patch diff --git a/build/patches/Enable-ClickToCall.patch b/build/patches/Enable-ClickToCall.patch new file mode 100644 index 00000000..0608848f --- /dev/null +++ b/build/patches/Enable-ClickToCall.patch @@ -0,0 +1,42 @@ +From: uazo +Date: Sat, 21 Sep 2024 14:38:40 +0000 +Subject: Enable ClickToCall + +Reactivation of the "click-to-call" flag and activation by default. +The functionality is only active if sending Intents from the web is allowed + +License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html +--- + chrome/browser/flag-metadata.json | 5 ----- + components/sharing_message/features.cc | 3 +++ + 2 files changed, 3 insertions(+), 5 deletions(-) + +diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json +--- a/chrome/browser/flag-metadata.json ++++ b/chrome/browser/flag-metadata.json +@@ -1512,11 +1512,6 @@ + "owners": [ "sygiet@google.com", "vasilii@chromium.org" ], + "expiry_milestone": 133 + }, +- { +- "name": "click-to-call", +- "owners": [ "ellyjones@chromium.org" ], +- "expiry_milestone": 115 +- }, + { + "name": "clipboard-history-longpress", + "owners": ["newcomer@google.com", "multipaste@google.com"], +diff --git a/components/sharing_message/features.cc b/components/sharing_message/features.cc +--- a/components/sharing_message/features.cc ++++ b/components/sharing_message/features.cc +@@ -7,6 +7,9 @@ + #include "build/build_config.h" + + BASE_FEATURE(kClickToCall, "ClickToCall", base::FEATURE_DISABLED_BY_DEFAULT); ++#if BUILDFLAG(IS_ANDROID) ++SET_CROMITE_FEATURE_ENABLED(kClickToCall); ++#endif + + BASE_FEATURE(kSharingMatchPulseInterval, + "SharingMatchPulseInterval", +--