public static Contact forError(Uri requestedUri, Exception exception) { return new Contact(requestedUri, Status.ERROR, exception); }
public static Contact forNotFound(Uri requestedUri) { return new Contact(requestedUri, Status.NOT_FOUND, null); }
return new Contact(mRequestedUri, contactUri, lookupUri, directoryId, lookupKey, contactId, nameRawContactId, displayNameSource, photoId, photoUri, displayName, altDisplayName, phoneticName, starred, presence, sendToVoicemail,
final int displayNameSource = json.getInt(Contacts.DISPLAY_NAME_SOURCE); final String photoUri = json.optString(Contacts.PHOTO_URI, null); final Contact contact = new Contact( uri, uri, lookupUri,
result = new Contact(mRequestedUri, cachedResult); resultIsCached = true; } else {