diff options
| author | 2011-08-24 16:06:06 -0700 | |
|---|---|---|
| committer | 2011-08-24 16:45:59 -0700 | |
| commit | 1d837232d2b86ecb844c586db76ccf1ddfda4cf0 (patch) | |
| tree | adf0e0a84429e409dd72296a945a289390a37cfb | |
| parent | 409f95ff89653760af53bede1a8ec19e21ecc4b5 (diff) | |
Add DATA_SET value to Entity from EntityIterator cursor
Account name and account type are being retrieved from the
cursor for the contact, but account dataset, which is the
3rd value to uniquely distinguish an account is missing.
Bug: 5210676
Change-Id: I85f93b3fa19839734e4e22928382e0f786ed8ee2
| -rw-r--r-- | core/java/android/provider/ContactsContract.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/provider/ContactsContract.java b/core/java/android/provider/ContactsContract.java index a66fa81904a5..55f3b4a7c56c 100644 --- a/core/java/android/provider/ContactsContract.java +++ b/core/java/android/provider/ContactsContract.java @@ -2692,6 +2692,7 @@ public final class ContactsContract { ContentValues cv = new ContentValues(); DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, ACCOUNT_NAME); DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, ACCOUNT_TYPE); + DatabaseUtils.cursorStringToContentValuesIfPresent(cursor, cv, DATA_SET); DatabaseUtils.cursorLongToContentValuesIfPresent(cursor, cv, _ID); DatabaseUtils.cursorLongToContentValuesIfPresent(cursor, cv, DIRTY); DatabaseUtils.cursorLongToContentValuesIfPresent(cursor, cv, VERSION); |