mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
Add phone number type to contacts DB to fix HTC bug.
Fixes #3784 // FREEBIE
This commit is contained in:
parent
20313127f5
commit
156a86013f
@ -132,6 +132,7 @@ public class ContactsDatabase {
|
|||||||
.withValueBackReference(ContactsContract.CommonDataKinds.Phone.RAW_CONTACT_ID, index)
|
.withValueBackReference(ContactsContract.CommonDataKinds.Phone.RAW_CONTACT_ID, index)
|
||||||
.withValue(ContactsContract.Data.MIMETYPE, ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE)
|
.withValue(ContactsContract.Data.MIMETYPE, ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE)
|
||||||
.withValue(ContactsContract.CommonDataKinds.Phone.NUMBER, e164number)
|
.withValue(ContactsContract.CommonDataKinds.Phone.NUMBER, e164number)
|
||||||
|
.withValue(ContactsContract.CommonDataKinds.Phone.TYPE, ContactsContract.CommonDataKinds.Phone.TYPE_OTHER)
|
||||||
.withValue(ContactsContract.Data.SYNC2, "__TS")
|
.withValue(ContactsContract.Data.SYNC2, "__TS")
|
||||||
.build());
|
.build());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user