mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-03 05:22:23 +00:00
Implemented full-text search.
You can now use the search bar on the conversation list to find conversations, messages, and contacts.
This commit is contained in:
@@ -145,7 +145,7 @@ public class ContactsDatabase {
|
||||
}
|
||||
|
||||
@SuppressLint("Recycle")
|
||||
@NonNull Cursor querySystemContacts(@Nullable String filter) {
|
||||
public @NonNull Cursor querySystemContacts(@Nullable String filter) {
|
||||
Uri uri;
|
||||
|
||||
if (!TextUtils.isEmpty(filter)) {
|
||||
@@ -193,7 +193,7 @@ public class ContactsDatabase {
|
||||
}
|
||||
|
||||
@SuppressLint("Recycle")
|
||||
@NonNull Cursor queryTextSecureContacts(String filter) {
|
||||
public @NonNull Cursor queryTextSecureContacts(String filter) {
|
||||
String[] projection = new String[] {ContactsContract.Contacts.DISPLAY_NAME,
|
||||
ContactsContract.Data.DATA1};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user