From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sat, 7 Aug 2021 15:01:54 -0400 Subject: [PATCH] remove unwanted sync and services link --- .../chrome/browser/privacy/settings/PrivacySettings.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java index 17dc4ad79a508..b78f38e60e789 100644 --- a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java +++ b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java @@ -173,8 +173,7 @@ public class PrivacySettings Preference secureDnsPref = findPreference(PREF_SECURE_DNS); secureDnsPref.setVisible(SecureDnsSettings.isUiEnabled()); - Preference syncAndServicesLink = findPreference(PREF_SYNC_AND_SERVICES_LINK); - syncAndServicesLink.setSummary(buildSyncAndServicesLink()); + getPreferenceScreen().removePreference(findPreference(PREF_SYNC_AND_SERVICES_LINK)); Preference thirdPartyCookies = findPreference(PREF_THIRD_PARTY_COOKIES);