diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2012-12-31 20:15:03 +0100 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2015-12-29 23:41:25 +0100 |
commit | 8a1ee129648d871d3720529a0032b0c6b15810a7 (patch) | |
tree | cc0fb3e1f439e2ebe7c08dccc41f0af43a80961c /res | |
parent | ad614da6fd8a6c85ac98bd27d92e2801098e2bf6 (diff) | |
download | packages_apps_Browser-8a1ee129648d871d3720529a0032b0c6b15810a7.zip packages_apps_Browser-8a1ee129648d871d3720529a0032b0c6b15810a7.tar.gz packages_apps_Browser-8a1ee129648d871d3720529a0032b0c6b15810a7.tar.bz2 |
Show search suggestions only when enabled in preferences
Change-Id: I6d6cd753f1bdffa6aecd078db62b1bbc08e95aa7
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'res')
-rw-r--r-- | res/values/strings.xml | 4 | ||||
-rw-r--r-- | res/xml/privacy_security_preferences.xml | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index d79c7f7..f5d3d26 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -487,6 +487,10 @@ <!-- Settings summmary --> <string name="pref_security_show_security_warning_summary">Show warning if there\'s a problem with a site\'s security</string> <!-- Settings label --> + <string name="pref_security_show_search_suggestions">Show search suggestions</string> + <!-- Settings summmary --> + <string name="pref_security_show_search_suggestions_summary">Show search suggestions when typing in the URL field</string> + <!-- Settings label --> <string name="pref_security_accept_cookies">Accept cookies</string> <!-- Settings summary --> <string name="pref_security_accept_cookies_summary">Allow sites to save and read cookie data</string> diff --git a/res/xml/privacy_security_preferences.xml b/res/xml/privacy_security_preferences.xml index 2633600..a574e61 100644 --- a/res/xml/privacy_security_preferences.xml +++ b/res/xml/privacy_security_preferences.xml @@ -37,6 +37,12 @@ android:title="@string/pref_security_show_security_warning" android:summary="@string/pref_security_show_security_warning_summary" /> + <CheckBoxPreference + android:key="show_search_suggestions" + android:defaultValue="false" + android:title="@string/pref_security_show_search_suggestions" + android:summary="@string/pref_security_show_search_suggestions_summary" /> + <PreferenceCategory android:title="@string/pref_privacy_cookies_title"> <CheckBoxPreference android:key="accept_cookies" |