summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMike LeBeau <mlebeau@android.com>2009-06-05 00:27:00 +0100
committerMike LeBeau <mlebeau@android.com>2009-06-05 01:07:20 +0100
commit48603e7fed957f318b12aa24089e0b13c3e78529 (patch)
treee95ba9ed29a3713aa660c27c0db0d54676bf9bf8 /core
parent54de90635e1d0628c396d65e6c948bf4a1529229 (diff)
downloadframeworks_base-48603e7fed957f318b12aa24089e0b13c3e78529.zip
frameworks_base-48603e7fed957f318b12aa24089e0b13c3e78529.tar.gz
frameworks_base-48603e7fed957f318b12aa24089e0b13c3e78529.tar.bz2
Add new SHOW_WEB_SUGGESTIONS system setting, referenced by the search settings
(in a follow-on change). This setting, to be respected by global search, and which I will also file a bug to the browser to respect, determines whether live web suggestions will be shown to the user as they type. For privacy reasons, this could be considered undesirable, as partial queries can then be sent to the user's chosen search engine, so a setting was required.
Diffstat (limited to 'core')
-rw-r--r--core/java/android/provider/Settings.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 5d10675..7ec3be6 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -1276,6 +1276,14 @@ public final class Settings {
* boolean (1 or 0).
*/
public static final String HAPTIC_FEEDBACK_ENABLED = "haptic_feedback_enabled";
+
+ /**
+ * Whether live web suggestions while the user types into search dialogs are
+ * enabled. Browsers and other search UIs should respect this, as it allows
+ * a user to avoid sending partial queries to a search engine, if it poses
+ * any privacy concern. The value is boolean (1 or 0).
+ */
+ public static final String SHOW_WEB_SUGGESTIONS = "show_web_suggestions";
// Settings moved to Settings.Secure