Disable contact sending.

This commit is contained in:
Greyson Parrelli 2018-05-21 19:57:50 -04:00
parent 5d75f11cbc
commit 93effc8890

View File

@ -428,12 +428,12 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
break; break;
case PICK_CONTACT: case PICK_CONTACT:
// TODO(greyson): Re-enable shared contact sending after receiving has been enabled for a few releases // TODO(greyson): Re-enable shared contact sending after receiving has been enabled for a few releases
// addAttachmentContactInfo(data.getData()); addAttachmentContactInfo(data.getData());
if (isSecureText && !isSmsForced()) { // if (isSecureText && !isSmsForced()) {
openContactShareEditor(data.getData()); // openContactShareEditor(data.getData());
} else { // } else {
addAttachmentContactInfo(data.getData()); // addAttachmentContactInfo(data.getData());
} // }
break; break;
case GET_CONTACT_DETAILS: case GET_CONTACT_DETAILS:
sendSharedContact(data.getParcelableArrayListExtra(ContactShareEditActivity.KEY_CONTACTS)); sendSharedContact(data.getParcelableArrayListExtra(ContactShareEditActivity.KEY_CONTACTS));