48 lines
2.5 KiB
Diff
48 lines
2.5 KiB
Diff
From 05a739edd218a1e78af2916a3aa8b00d6c910d24 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Micay <danielmicay@gmail.com>
|
|
Date: Fri, 27 Nov 2020 02:43:37 -0500
|
|
Subject: [PATCH 5/6] disable autofill assistant by default
|
|
|
|
---
|
|
.../autofill_assistant/AutofillAssistantPreferencesUtil.java | 2 +-
|
|
components/autofill_assistant/browser/features.cc | 4 ++--
|
|
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/chrome/android/features/autofill_assistant/public/java/src/org/chromium/chrome/browser/autofill_assistant/AutofillAssistantPreferencesUtil.java b/chrome/android/features/autofill_assistant/public/java/src/org/chromium/chrome/browser/autofill_assistant/AutofillAssistantPreferencesUtil.java
|
|
index 4a59b0bf75e1e..44c5afc38eaaf 100644
|
|
--- a/chrome/android/features/autofill_assistant/public/java/src/org/chromium/chrome/browser/autofill_assistant/AutofillAssistantPreferencesUtil.java
|
|
+++ b/chrome/android/features/autofill_assistant/public/java/src/org/chromium/chrome/browser/autofill_assistant/AutofillAssistantPreferencesUtil.java
|
|
@@ -32,7 +32,7 @@ public class AutofillAssistantPreferencesUtil {
|
|
|
|
/** Checks whether the Autofill Assistant switch preference in settings is on. */
|
|
static boolean isAutofillAssistantSwitchOn() {
|
|
- return getAssistantEnabledPreference(true);
|
|
+ return getAssistantEnabledPreference(false);
|
|
}
|
|
|
|
/** Checks whether proactive help is enabled. */
|
|
diff --git a/components/autofill_assistant/browser/features.cc b/components/autofill_assistant/browser/features.cc
|
|
index 8e69cc7dea38d..43ff85a0758ef 100644
|
|
--- a/components/autofill_assistant/browser/features.cc
|
|
+++ b/components/autofill_assistant/browser/features.cc
|
|
@@ -11,7 +11,7 @@ namespace features {
|
|
|
|
// Controls whether to enable Autofill Assistant.
|
|
const base::Feature kAutofillAssistant{"AutofillAssistant",
|
|
- base::FEATURE_ENABLED_BY_DEFAULT};
|
|
+ base::FEATURE_DISABLED_BY_DEFAULT};
|
|
|
|
// Controls whether to enable Autofill Assistant's way of annotating DOM. If
|
|
// enabled will create an |AnnotateDomModelService|.
|
|
@@ -86,7 +86,7 @@ const base::Feature kAutofillAssistantLoadDFMForTriggerScripts{
|
|
base::FEATURE_DISABLED_BY_DEFAULT};
|
|
|
|
const base::Feature kAutofillAssistantProactiveHelp{
|
|
- "AutofillAssistantProactiveHelp", base::FEATURE_ENABLED_BY_DEFAULT};
|
|
+ "AutofillAssistantProactiveHelp", base::FEATURE_DISABLED_BY_DEFAULT};
|
|
|
|
// Used to configure the start heuristics for
|
|
// |kAutofillAssistantInCctTriggering| and/or
|
|
--
|
|
2.25.1
|
|
|