Support for retrieving and storing profile information

Initial support for sharing profile keys

// FREEBIE
This commit is contained in:
Moxie Marlinspike
2017-08-14 18:11:13 -07:00
parent 1893047a78
commit 77a216b705
17 changed files with 455 additions and 35 deletions

View File

@@ -139,6 +139,7 @@ class RecipientProvider {
String name = resultNumber.equals(cursor.getString(0)) ? null : cursor.getString(0);
ContactPhoto contactPhoto = ContactPhotoFactory.getContactPhoto(context,
Uri.withAppendedPath(Contacts.CONTENT_URI, cursor.getLong(2) + ""),
address,
name);
return new RecipientDetails(cursor.getString(0), cursor.getString(4), contactUri, contactPhoto, preferences.orNull(), null);