Loading core/java/android/app/SearchDialog.java +1 −3 Original line number Original line Diff line number Diff line Loading @@ -134,9 +134,7 @@ public class SearchDialog extends Dialog implements OnItemClickListener, OnItemS private SuggestionsAdapter mSuggestionsAdapter; private SuggestionsAdapter mSuggestionsAdapter; // Whether to rewrite queries when selecting suggestions // Whether to rewrite queries when selecting suggestions // TODO: This is disabled because of problems with persistent selections private static final boolean REWRITE_QUERIES = true; // causing non-user-initiated rewrites. private static final boolean REWRITE_QUERIES = false; // The query entered by the user. This is not changed when selecting a suggestion // 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 // that modifies the contents of the text field. But if the user then edits Loading Loading
core/java/android/app/SearchDialog.java +1 −3 Original line number Original line Diff line number Diff line Loading @@ -134,9 +134,7 @@ public class SearchDialog extends Dialog implements OnItemClickListener, OnItemS private SuggestionsAdapter mSuggestionsAdapter; private SuggestionsAdapter mSuggestionsAdapter; // Whether to rewrite queries when selecting suggestions // Whether to rewrite queries when selecting suggestions // TODO: This is disabled because of problems with persistent selections private static final boolean REWRITE_QUERIES = true; // causing non-user-initiated rewrites. private static final boolean REWRITE_QUERIES = false; // The query entered by the user. This is not changed when selecting a suggestion // 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 // that modifies the contents of the text field. But if the user then edits Loading