mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
fix empty contact filter
This commit is contained in:
parent
4d52d2ee36
commit
e9a50ce6c3
@ -128,7 +128,7 @@ public class ContactsDatabase {
|
|||||||
|
|
||||||
private Cursor queryAndroidDb(String filter) {
|
private Cursor queryAndroidDb(String filter) {
|
||||||
final Uri baseUri;
|
final Uri baseUri;
|
||||||
if (filter != null) {
|
if (!Util.isEmpty(filter)) {
|
||||||
baseUri = Uri.withAppendedPath(ContactsContract.CommonDataKinds.Phone.CONTENT_FILTER_URI,
|
baseUri = Uri.withAppendedPath(ContactsContract.CommonDataKinds.Phone.CONTENT_FILTER_URI,
|
||||||
Uri.encode(filter));
|
Uri.encode(filter));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user