LeOSium_webview/mulch/patches/0001-Vanadium/0068-disable-unused-passwor...

26 lines
1.3 KiB
Diff
Raw Normal View History

2023-11-18 11:46:19 +01:00
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 53e109056ac1e..2f429f8e98b35 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;
}
/**