In the latest version Contact.InternalField.ContactId was moved to Contact.Field.ContactId causing Query.buildProjection() to exclude this field if not added when calling Query.include().
When iterating through the cursor in Query.find(ids), CursorHelper.getContactId() will always return null causing the contactsMap to be overriden with every new Contact.
IMO, adding projection.add(Contact.Field.ContactId.getColumn()); to Query.buildProjection() should do the trick
In the latest version
Contact.InternalField.ContactId
was moved toContact.Field.ContactId
causingQuery.buildProjection()
to exclude this field if not added when callingQuery.include()
.When iterating through the cursor in
Query.find(ids)
,CursorHelper.getContactId()
will always return null causing thecontactsMap
to be overriden with every new Contact.IMO, adding
projection.add(Contact.Field.ContactId.getColumn());
toQuery.buildProjection()
should do the trick