use of org.thoughtcrime.securesms.contacts.ContactAccessor in project Signal-Android by WhisperSystems.
the class ConversationActivity method addAttachmentContactInfo.
private void addAttachmentContactInfo(Uri contactUri) {
ContactAccessor contactDataList = ContactAccessor.getInstance();
ContactData contactData = contactDataList.getContactData(this, contactUri);
if (contactData.numbers.size() == 1)
composeText.append(contactData.numbers.get(0).number);
else if (contactData.numbers.size() > 1)
selectContactInfo(contactData);
}
Aggregations