summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2012-12-31 20:15:03 +0100
committerPaul Kocialkowski <contact@paulk.fr>2013-10-29 15:23:45 +0100
commit7f8a22a6d3515b9bd244311c0a56c00287f24437 (patch)
tree922f6f44054fe1f5873d6b4e477b2a1294537ec0 /res
parent92e9a8826cf59141408e39b657b17aeeccc9d60c (diff)
downloadpackages_apps_browser-7f8a22a6d3515b9bd244311c0a56c00287f24437.zip
packages_apps_browser-7f8a22a6d3515b9bd244311c0a56c00287f24437.tar.gz
packages_apps_browser-7f8a22a6d3515b9bd244311c0a56c00287f24437.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.xml4
-rw-r--r--res/xml/privacy_security_preferences.xml6
2 files changed, 10 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 5720410..8121e5c 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -485,6 +485,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"