22 lines
1.1 KiB
Diff
22 lines
1.1 KiB
Diff
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
From: fgei <fgei@gmail.com>
|
||
|
Date: Mon, 24 Jan 2022 19:22:26 +0000
|
||
|
Subject: [PATCH] Hide currently no-op preload settings
|
||
|
|
||
|
---
|
||
|
.../chrome/browser/privacy/settings/PrivacySettings.java | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
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 85c3bb4ab74a3..46f457583eebd 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
|
||
|
@@ -261,6 +261,7 @@ public class PrivacySettings
|
||
|
if (preloadPagesPreference != null) {
|
||
|
preloadPagesPreference.setSummary(
|
||
|
PreloadPagesSettingsFragment.getPreloadPagesSummaryString(getContext()));
|
||
|
+ getPreferenceScreen().removePreference(preloadPagesPreference);
|
||
|
}
|
||
|
|
||
|
Preference secureDnsPref = findPreference(PREF_SECURE_DNS);
|