| From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
| From: fgei <fgei@gmail.com> |
| Date: Sun, 29 Aug 2021 19:31:00 +0000 |
| Subject: [PATCH] Hide Sign In preference when disallowed |
| |
| --- |
| .../chromium/chrome/browser/sync/settings/SignInPreference.java | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/sync/settings/SignInPreference.java b/chrome/android/java/src/org/chromium/chrome/browser/sync/settings/SignInPreference.java |
| index 07472d9bb8239..49dc5fbf9322b 100644 |
| --- a/chrome/android/java/src/org/chromium/chrome/browser/sync/settings/SignInPreference.java |
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/sync/settings/SignInPreference.java |
| @@ -168,6 +168,7 @@ public class SignInPreference extends Preference |
| } |
| |
| private void setupSigninDisallowed() { |
| + setViewEnabledAndShowAlertIcon(/* enabled= */ false, /* alertIconVisible= */ false); |
| mWasGenericSigninPromoDisplayed = false; |
| } |
| |