Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa44af7f authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Merge branch '4329-master-autofill' into 'master'

Browser: Disable android native autofill by default

See merge request !59
parents 17c17cca fafa6231
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+25 −0
Original line number Diff line number Diff line
From 2c84fff894fd36419675d238113db57cebd18c81 Mon Sep 17 00:00:00 2001
From: althafvly <althafvly@gmail.com>
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