LeOSium_old/patches/0001-Vanadium/0069-disable-unused-passwor...

26 lines
1.3 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Daniel Micay <danielmicay@gmail.com>
Date: Thu, 15 Apr 2021 11:33:17 -0400
Subject: [PATCH] disable unused password check feature
---
.../chrome/browser/password_check/PasswordCheckFactory.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/chrome/browser/password_check/android/internal/java/src/org/chromium/chrome/browser/password_check/PasswordCheckFactory.java b/chrome/browser/password_check/android/internal/java/src/org/chromium/chrome/browser/password_check/PasswordCheckFactory.java
index ca83d3a1d2223..aca3e146f0b51 100644
--- a/chrome/browser/password_check/android/internal/java/src/org/chromium/chrome/browser/password_check/PasswordCheckFactory.java
+++ b/chrome/browser/password_check/android/internal/java/src/org/chromium/chrome/browser/password_check/PasswordCheckFactory.java
@@ -24,10 +24,7 @@ public class PasswordCheckFactory {
* @return A {@link PasswordCheckImpl} or null if the feature is disabled.
*/
public static @Nullable PasswordCheck getOrCreate(SettingsLauncher settingsLauncher) {
- if (sPasswordCheck == null) {
- sPasswordCheck = new PasswordCheckImpl(settingsLauncher);
- }
- return sPasswordCheck;
+ return null;
}
/**