mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-19 20:48:27 +00:00
Merge pull request #1354 from agrajaghh/fix_empty_contact_filter
Fix empty contact filter not working properly
This commit is contained in:
commit
7a54f33f68
@ -128,7 +128,7 @@ public class ContactsDatabase {
|
||||
|
||||
private Cursor queryAndroidDb(String filter) {
|
||||
final Uri baseUri;
|
||||
if (filter != null) {
|
||||
if (!Util.isEmpty(filter)) {
|
||||
baseUri = Uri.withAppendedPath(ContactsContract.CommonDataKinds.Phone.CONTENT_FILTER_URI,
|
||||
Uri.encode(filter));
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user