From fafa623132fe742b800d49ad84d85b563d694fae Mon Sep 17 00:00:00 2001 From: althafvly Date: Tue, 22 Aug 2023 06:18:41 +0000 Subject: [PATCH] Browser: Disable android native autofill by default --- build/e_patches_list.txt | 1 + ...e-Android-native-autofill-by-default.patch | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 build/patches/0035-Browser-Disable-Android-native-autofill-by-default.patch diff --git a/build/e_patches_list.txt b/build/e_patches_list.txt index fb256ecb..88ed69ed 100644 --- a/build/e_patches_list.txt +++ b/build/e_patches_list.txt @@ -32,3 +32,4 @@ 0032-Browser-Remove-broken-link-about-entries.patch 0033-Revert-Remove-navigator.connection-info.patch 0034-Change-accent-to-match-our-palette.patch +0035-Browser-Disable-Android-native-autofill-by-default.patch diff --git a/build/patches/0035-Browser-Disable-Android-native-autofill-by-default.patch b/build/patches/0035-Browser-Disable-Android-native-autofill-by-default.patch new file mode 100644 index 00000000..1cf22756 --- /dev/null +++ b/build/patches/0035-Browser-Disable-Android-native-autofill-by-default.patch @@ -0,0 +1,25 @@ +From 2c84fff894fd36419675d238113db57cebd18c81 Mon Sep 17 00:00:00 2001 +From: althafvly +Date: Tue, 22 Aug 2023 06:16:40 +0000 +Subject: [PATCH] Browser: Disable Android native autofill by default + +--- + components/autofill/core/common/autofill_prefs.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/components/autofill/core/common/autofill_prefs.cc b/components/autofill/core/common/autofill_prefs.cc +index ff263cfe2ea6e..0ca78077f5c87 100644 +--- a/components/autofill/core/common/autofill_prefs.cc ++++ b/components/autofill/core/common/autofill_prefs.cc +@@ -140,7 +140,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { + prefs::kAutofillCreditCardFidoAuthOfferCheckboxState, true); + #endif + registry->RegisterBooleanPref( +- prefs::kAutofillAndroidEnabled, true); ++ prefs::kAutofillAndroidEnabled, false); + registry->RegisterBooleanPref( + prefs::kAutofillAndroidIncognitoEnabled, false); + registry->RegisterIntegerPref( +-- +2.25.1 + -- GitLab