24 lines
1.3 KiB
Diff
24 lines
1.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Micay <danielmicay@gmail.com>
|
|
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 6af2642df1e0f..67c390408cd69 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
|
|
@@ -176,8 +176,7 @@ public class PrivacySettings extends PreferenceFragmentCompat
|
|
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);
|
|
if (thirdPartyCookies != null) {
|