| From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
| From: fgei <fgei@gmail.com> |
| Date: Fri, 20 Aug 2021 16:13:42 +0000 |
| Subject: [PATCH] remove unwanted account and services section |
| |
| --- |
| .../src/org/chromium/chrome/browser/settings/MainSettings.java | 2 ++ |
| 1 file changed, 2 insertions(+) |
| |
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/settings/MainSettings.java b/chrome/android/java/src/org/chromium/chrome/browser/settings/MainSettings.java |
| index 96b4b169ff38e..234838c7ed53b 100644 |
| --- a/chrome/android/java/src/org/chromium/chrome/browser/settings/MainSettings.java |
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/settings/MainSettings.java |
| @@ -245,6 +245,8 @@ public class MainSettings extends ChromeBaseSettingsFragment |
| } |
| |
| getPreferenceScreen().removePreference(findPreference(PREF_SAFETY_CHECK)); |
| + getPreferenceScreen().removePreference(findPreference(PREF_ACCOUNT_AND_GOOGLE_SERVICES_SECTION)); |
| + getPreferenceScreen().removePreference(findPreference(PREF_GOOGLE_SERVICES)); |
| |
| new AdaptiveToolbarStatePredictor(null) |
| .recomputeUiState( |