LeOSium_webview/mulch/patches/0002-LineageOS/0005-webview-Disable-autofi...

25 lines
1.1 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Kevin F. Haggerty" <haggertk@lineageos.org>
Date: Tue, 28 Sep 2021 08:43:01 -0600
Subject: [PATCH] webview: Disable autofill metadata uploads by default
* [haggertk - 2021-11-16] - Update per d85f6c03db147
(Reland "[Autofill] Inline kAutofillMetadataUploads")
---
components/autofill/core/browser/randomized_encoder.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/autofill/core/browser/randomized_encoder.cc b/components/autofill/core/browser/randomized_encoder.cc
index 376849e083fa8..0d3bc03b66b6e 100644
--- a/components/autofill/core/browser/randomized_encoder.cc
+++ b/components/autofill/core/browser/randomized_encoder.cc
@@ -187,7 +187,7 @@ const char RandomizedEncoder::kUrlKeyedAnonymizedDataCollectionEnabled[] =
std::unique_ptr<RandomizedEncoder> RandomizedEncoder::Create(
PrefService* pref_service) {
// Early abort if metadata uploads are not enabled.
- if (!pref_service) {
+ if (!pref_service || (true)) {
return nullptr;
}