Added a comment to make it clearer that the operation has to be the first

Bug:2521447

Change-Id: I155d0b328115d007116a0fe4560e703647ec2fb5
This commit is contained in:
Daniel Lehmann
2010-03-18 16:08:30 -07:00
parent b127bf2e9c
commit d62d9eec0d

View File

@@ -1055,6 +1055,8 @@ public class VCardEntry {
public Uri pushIntoContentResolver(ContentResolver resolver) {
ArrayList<ContentProviderOperation> operationList =
new ArrayList<ContentProviderOperation>();
// After applying the batch the first result's Uri is returned so it is important that
// the RawContact is the first operation that gets inserted into the list
ContentProviderOperation.Builder builder =
ContentProviderOperation.newInsert(RawContacts.CONTENT_URI);
String myGroupsId = null;