Configure AutoFill through browser preferences.
Defaults to off until we have a profile editor. Until the profile
editor is finished, we use a canned "John Smith" profile.
Requires a corresponding change in frameworks/base -
https://android-git.corp.google.com/g/65573
Change-Id: Ieb0c49b79766ba670322b8bd8b84968e778920ae
diff --git a/res/xml/browser_preferences.xml b/res/xml/browser_preferences.xml
index 1da85ec..cc9b18a 100644
--- a/res/xml/browser_preferences.xml
+++ b/res/xml/browser_preferences.xml
@@ -139,6 +139,12 @@
android:title="@string/pref_security_save_form_data"
android:summary="@string/pref_security_save_form_data_summary" />
+ <CheckBoxPreference
+ android:key="autoFill_enabled"
+ android:defaultValue="false"
+ android:title="@string/pref_autoFill_enabled"
+ android:summary="@string/pref_autoFill_enabled_summary" />
+
<com.android.browser.BrowserYesNoPreference
android:key="privacy_clear_form_data"
android:title="@string/pref_privacy_clear_form_data"