Skip to content

Commit

Permalink
Add phone number type to contacts DB to fix HTC bug.
Browse files Browse the repository at this point in the history
Fixes signalapp#3784
// FREEBIE
  • Loading branch information
moxie0 committed Jul 24, 2015
1 parent 2031312 commit 156a860
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ private void addTextSecureRawContact(List<ContentProviderOperation> operations,
.withValueBackReference(ContactsContract.CommonDataKinds.Phone.RAW_CONTACT_ID, index)
.withValue(ContactsContract.Data.MIMETYPE, ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE)
.withValue(ContactsContract.CommonDataKinds.Phone.NUMBER, e164number)
.withValue(ContactsContract.CommonDataKinds.Phone.TYPE, ContactsContract.CommonDataKinds.Phone.TYPE_OTHER)
.withValue(ContactsContract.Data.SYNC2, "__TS")
.build());

Expand Down

0 comments on commit 156a860

Please sign in to comment.