Added special search for encrypted messages

This commit is contained in:
M66B
2019-11-17 12:53:51 +01:00
parent 3aeb5d6e77
commit e7f179c90d
4 changed files with 13 additions and 3 deletions

View File

@@ -63,6 +63,7 @@ public class SearchViewEx extends SearchView {
cursor.addRow(new Object[]{-2, prefix + ":" + getContext().getString(R.string.title_search_special_unseen)});
cursor.addRow(new Object[]{-3, prefix + ":" + getContext().getString(R.string.title_search_special_flagged)});
cursor.addRow(new Object[]{-4, prefix + ":" + getContext().getString(R.string.title_search_special_snoozed)});
cursor.addRow(new Object[]{-5, prefix + ":" + getContext().getString(R.string.title_search_special_encrypted)});
SimpleCursorAdapter adapter = new SimpleCursorAdapter(
getContext(),
R.layout.search_suggestion,