diff options
| author | Daniel Lehmann <lehmannd@google.com> | 2010-03-18 16:08:30 -0700 |
|---|---|---|
| committer | Daniel Lehmann <lehmannd@google.com> | 2010-03-18 16:08:30 -0700 |
| commit | d62d9eec0df0ecf6fe9ac2f63acde0df6c06d529 (patch) | |
| tree | 4ddbc44742e8ea6db6cc0884fa8e54b99c21ddcc /core/java/android/pim | |
| parent | b127bf2e9cd68c4d54fdcce2326293e3013c19af (diff) | |
| download | frameworks_base-d62d9eec0df0ecf6fe9ac2f63acde0df6c06d529.zip frameworks_base-d62d9eec0df0ecf6fe9ac2f63acde0df6c06d529.tar.gz frameworks_base-d62d9eec0df0ecf6fe9ac2f63acde0df6c06d529.tar.bz2 | |
Added a comment to make it clearer that the operation has to be the first
Bug:2521447
Change-Id: I155d0b328115d007116a0fe4560e703647ec2fb5
Diffstat (limited to 'core/java/android/pim')
| -rw-r--r-- | core/java/android/pim/vcard/VCardEntry.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/pim/vcard/VCardEntry.java b/core/java/android/pim/vcard/VCardEntry.java index c7a59fa..e40a7ba 100644 --- a/core/java/android/pim/vcard/VCardEntry.java +++ b/core/java/android/pim/vcard/VCardEntry.java @@ -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; |
