mirror of
https://github.com/oxen-io/session-android.git
synced 2025-03-16 06:20:54 +00:00
Add "new message to <number>" always.
Fixes #2660 Closes #2854 // FREEBIE
This commit is contained in:
parent
f4fe024e50
commit
87760a795d
@ -112,7 +112,7 @@ public class ContactsDatabase {
|
|||||||
androidCursor = null;
|
androidCursor = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (includeAndroidContacts && !TextUtils.isEmpty(filter) && NumberUtil.isValidSmsOrEmail(filter)) {
|
if (!TextUtils.isEmpty(filter) && NumberUtil.isValidSmsOrEmail(filter)) {
|
||||||
newNumberCursor = new MatrixCursor(CONTACTS_PROJECTION, 1);
|
newNumberCursor = new MatrixCursor(CONTACTS_PROJECTION, 1);
|
||||||
newNumberCursor.addRow(new Object[]{-1L, context.getString(R.string.contact_selection_list__unknown_contact),
|
newNumberCursor.addRow(new Object[]{-1L, context.getString(R.string.contact_selection_list__unknown_contact),
|
||||||
ContactsContract.CommonDataKinds.Phone.TYPE_CUSTOM, "\u21e2", filter, NORMAL_TYPE});
|
ContactsContract.CommonDataKinds.Phone.TYPE_CUSTOM, "\u21e2", filter, NORMAL_TYPE});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user