Renamed getEmailFromContactPicker() to better reflect what it does
This commit is contained in:
parent
08e54cf44b
commit
a09f26a227
3 changed files with 3 additions and 3 deletions
|
@ -1797,7 +1797,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
|
|||
case CONTACT_PICKER_TO:
|
||||
case CONTACT_PICKER_CC:
|
||||
case CONTACT_PICKER_BCC:
|
||||
ContactItem contact = mContacts.getEmailFromContactPicker(data);
|
||||
ContactItem contact = mContacts.extractInfoFromContactPickerIntent(data);
|
||||
if (contact == null) {
|
||||
Toast.makeText(this, getString(R.string.error_contact_address_not_found), Toast.LENGTH_LONG).show();
|
||||
return;
|
||||
|
|
|
@ -183,7 +183,7 @@ public abstract class Contacts {
|
|||
* @return A {@link ContactItem} instance describing the picked contact. Or {@code null} if the
|
||||
* contact doesn't have any email addresses.
|
||||
*/
|
||||
public abstract ContactItem getEmailFromContactPicker(final Intent intent);
|
||||
public abstract ContactItem extractInfoFromContactPickerIntent(final Intent intent);
|
||||
|
||||
/**
|
||||
* Does the device actually have a Contacts application suitable for
|
||||
|
|
|
@ -193,7 +193,7 @@ public class ContactsSdk5 extends com.fsck.k9.helper.Contacts {
|
|||
}
|
||||
|
||||
@Override
|
||||
public ContactItem getEmailFromContactPicker(final Intent data) {
|
||||
public ContactItem extractInfoFromContactPickerIntent(final Intent data) {
|
||||
Cursor cursor = null;
|
||||
ArrayList<String> email = new ArrayList<String>();
|
||||
|
||||
|
|
Loading…
Reference in a new issue