23 lines
1.3 KiB
Diff
23 lines
1.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: fgei <fgei@gmail.com>
|
|
Date: Fri, 15 Oct 2021 13:49:33 +0000
|
|
Subject: [PATCH] Remove privacy trials preference UI
|
|
|
|
---
|
|
.../chrome/browser/privacy/settings/PrivacySettings.java | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
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 a9da397ba2eaf..6af2642df1e0f 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
|
|
@@ -128,6 +128,8 @@ public class PrivacySettings extends PreferenceFragmentCompat
|
|
mIncognitoLockSettings = new IncognitoLockSettings(incognitoReauthPreference);
|
|
mIncognitoLockSettings.setUpIncognitoReauthPreference(getActivity());
|
|
|
|
+ getPreferenceScreen().removePreference(findPreference(PREF_PRIVACY_SANDBOX));
|
|
+
|
|
Preference safeBrowsingPreference = findPreference(PREF_SAFE_BROWSING);
|
|
safeBrowsingPreference.setSummary(
|
|
SafeBrowsingSettingsFragment.getSafeBrowsingSummaryString(getContext()));
|