Enabled search suggestions for indexed search

pull/197/head
M66B 4 years ago
parent 78d5c2d363
commit 5e9f345ff3

@ -129,7 +129,7 @@ public class FragmentDialogSearch extends FragmentDialogBase {
Log.i("Search suggest=" + typed); Log.i("Search suggest=" + typed);
MatrixCursor cursor = new MatrixCursor(new String[]{"_id", "suggestion"}); MatrixCursor cursor = new MatrixCursor(new String[]{"_id", "suggestion"});
if (TextUtils.isEmpty(typed) || cbSearchIndex.isChecked()) if (TextUtils.isEmpty(typed))
return cursor; return cursor;
String query = "%" + typed + "%"; String query = "%" + typed + "%";

Loading…
Cancel
Save