mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 00:58:50 -05:00
Fixed javadoc comments
This commit is contained in:
parent
d1fa878c77
commit
55440f8a18
@ -168,41 +168,34 @@ public abstract class Contacts {
|
|||||||
*/
|
*/
|
||||||
public abstract void markAsContacted(final Address[] addresses);
|
public abstract void markAsContacted(final Address[] addresses);
|
||||||
|
|
||||||
|
/**
|
||||||
/*
|
* Creates the intent necessary to open a contact picker.
|
||||||
* Returns the intent necessary to open a contact picker
|
|
||||||
*
|
*
|
||||||
|
* @return The intent necessary to open a contact picker.
|
||||||
*/
|
*/
|
||||||
public abstract Intent contactPickerIntent();
|
public abstract Intent contactPickerIntent();
|
||||||
|
|
||||||
|
/**
|
||||||
/* Given a contact picker intent, returns the primary email
|
* Given a contact picker intent, returns the primary email address of that
|
||||||
* address of that contact
|
* contact.
|
||||||
*
|
*
|
||||||
* @param intent The {@link Intent} returned by this contact picker
|
* @param intent The {@link Intent} returned by this contact picker.
|
||||||
|
* @return The primary email address of the picked contact.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public abstract String getEmailFromContactPicker(final Intent intent);
|
public abstract String getEmailFromContactPicker(final Intent intent);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Does the device actually have a Contacts application suitable for
|
||||||
/*
|
* picking a contact. As hard as it is to believe, some vendors ship
|
||||||
* Does the device actually have a Contacts application suitable
|
* without it.
|
||||||
* for picking a contact. As hard as it is to believe, some
|
*
|
||||||
* vendors ship without it.
|
* @return True, if the device supports picking contacts. False, otherwise.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public boolean hasContactPicker() {
|
public boolean hasContactPicker() {
|
||||||
|
|
||||||
if (mContext.getPackageManager().queryIntentActivities(contactPickerIntent(), 0).size() > 0) {
|
if (mContext.getPackageManager().queryIntentActivities(contactPickerIntent(), 0).size() > 0) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user