Skip to content

Commit

Permalink
Add website fetch to updateContact method
Browse files Browse the repository at this point in the history
  • Loading branch information
Nixsm committed May 17, 2017
1 parent 71cb989 commit 1f3e967
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contacts/src/main/java/com/github/tamir7/contacts/Query.java
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,11 @@ private void updateContact(Contact contact, CursorHelper helper) {
if (familyName != null) {
contact.addFamilyName(familyName);
}
} else if (mimeType.equals(ContactsContract.CommonDataKinds.Website.CONTENT_ITEM_TYPE)) {
String website = helper.getWebsite();
if (website != null) {
contact.addWebsite(website);
}
}
}

Expand Down

0 comments on commit 1f3e967

Please sign in to comment.