summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike LeBeau <mlebeau@android.com>2009-06-18 10:57:30 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-06-18 10:57:30 -0700
commit349569b285ccd2fabd581758cf940915596a4c5c (patch)
treeeedbc45f4cef4854a4f5aead48249e1d21529d12
parentcd94979e57b4552b5c18de26a34aa70549bb42c4 (diff)
parentcce7dbc31ed100b39c3e1174dd3d9a01de648e5b (diff)
downloadframeworks_base-349569b285ccd2fabd581758cf940915596a4c5c.zip
frameworks_base-349569b285ccd2fabd581758cf940915596a4c5c.tar.gz
frameworks_base-349569b285ccd2fabd581758cf940915596a4c5c.tar.bz2
am cce7dbc3: Re-enable query jamming.
Merge commit 'cce7dbc31ed100b39c3e1174dd3d9a01de648e5b' * commit 'cce7dbc31ed100b39c3e1174dd3d9a01de648e5b': Re-enable query jamming.
-rw-r--r--core/java/android/app/SearchDialog.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/java/android/app/SearchDialog.java b/core/java/android/app/SearchDialog.java
index b6c8385..3a3a983 100644
--- a/core/java/android/app/SearchDialog.java
+++ b/core/java/android/app/SearchDialog.java
@@ -134,9 +134,7 @@ public class SearchDialog extends Dialog implements OnItemClickListener, OnItemS
private SuggestionsAdapter mSuggestionsAdapter;
// Whether to rewrite queries when selecting suggestions
- // TODO: This is disabled because of problems with persistent selections
- // causing non-user-initiated rewrites.
- private static final boolean REWRITE_QUERIES = false;
+ private static final boolean REWRITE_QUERIES = true;
// The query entered by the user. This is not changed when selecting a suggestion
// that modifies the contents of the text field. But if the user then edits