|
|
|
@ -112,7 +112,7 @@ public class ContactsDatabase {
|
|
|
|
|
androidCursor = null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (includeAndroidContacts && !TextUtils.isEmpty(filter) && NumberUtil.isValidSmsOrEmail(filter)) {
|
|
|
|
|
if (!TextUtils.isEmpty(filter) && NumberUtil.isValidSmsOrEmail(filter)) {
|
|
|
|
|
newNumberCursor = new MatrixCursor(CONTACTS_PROJECTION, 1);
|
|
|
|
|
newNumberCursor.addRow(new Object[]{-1L, context.getString(R.string.contact_selection_list__unknown_contact),
|
|
|
|
|
ContactsContract.CommonDataKinds.Phone.TYPE_CUSTOM, "\u21e2", filter, NORMAL_TYPE});
|
|
|
|
|