summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-09-09 10:28:08 +0100
committerSteve Block <steveblock@google.com>2010-09-23 18:19:55 +0100
commitce549fcaf3a29b22d8ec1f2d45146c4b484e0068 (patch)
treebcb1f3d9ccae52aa65e3d57d998fb34ce90ed026 /res
parent052ce667ce77c4fb3208c0b0dacba7be79c072d9 (diff)
downloadpackages_apps_Browser-ce549fcaf3a29b22d8ec1f2d45146c4b484e0068.zip
packages_apps_Browser-ce549fcaf3a29b22d8ec1f2d45146c4b484e0068.tar.gz
packages_apps_Browser-ce549fcaf3a29b22d8ec1f2d45146c4b484e0068.tar.bz2
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
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml4
-rw-r--r--res/xml/browser_preferences.xml6
2 files changed, 10 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 3ceec67..65f555c 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -374,6 +374,10 @@
<string name="pref_security_save_form_data">Remember form data</string>
<!-- Settings summary -->
<string name="pref_security_save_form_data_summary">Remember data I type in forms for later use</string>
+ <!-- Settings label for enabling/disabling the form AutoFill feature -->
+ <string name="pref_autoFill_enabled">AutoFill forms</string>
+ <!-- Settings summary for the form AutoFill feature. -->
+ <string name="pref_autoFill_enabled_summary">Automatically fill out forms where possible</string>
<!-- Settings label -->
<string name="pref_security_show_security_warning">Show security warnings</string>
<!-- Settings summmary -->
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"