CB-844: Contact.find does not return urls

This commit is contained in:
macdonst 2012-05-30 12:52:25 -04:00
parent d79403e352
commit 5f93a26eea

View File

@ -437,14 +437,14 @@ public class ContactAccessorSdk5 extends ContactAccessor {
contact.put("ims", ims);
}
if (websites.length() > 0) {
contact.put("websites", websites);
contact.put("urls", websites);
}
if (photos.length() > 0) {
contact.put("photos", photos);
}
}
catch (JSONException e) {
Log.e(LOG_TAG,e.getMessage(),e);
Log.e(LOG_TAG,e.getMessage(),e);
}
return contact;
}