From cce7dbc31ed100b39c3e1174dd3d9a01de648e5b Mon Sep 17 00:00:00 2001 From: Mike LeBeau Date: Thu, 18 Jun 2009 09:25:18 -0700 Subject: [PATCH] Re-enable query jamming. --- core/java/android/app/SearchDialog.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/java/android/app/SearchDialog.java b/core/java/android/app/SearchDialog.java index b6c8385c10d66..3a3a983cb4ba5 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