Enable ClickToCall: Reactivation of the "click-to-call" flag and activation by default. (#1489)

The functionality is only active if sending Intents from the web is allowed
This commit is contained in:
Carmelo Messina
2024-09-26 09:58:53 +02:00
parent cef54f71ab
commit 9c771f4aec
2 changed files with 43 additions and 0 deletions
+1
View File
@@ -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
+42
View File
@@ -0,0 +1,42 @@
From: uazo <uazo@users.noreply.github.com>
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",
--