summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2015-11-03 16:10:26 -0800
committerYorke Lee <yorkelee@google.com>2015-11-03 16:10:26 -0800
commit85dce1ce13a349c51e3dc35a2a68f6b9d9ae44ab (patch)
tree21a3ce6c42afe04bc696e95e45a96dfef7a8bb7a
parent7d048b14177813c9c2b857c67d69698af466a5c7 (diff)
Fix for duplicate favorite contacts in speed dial
The incorrect column was being used to populate mContactIdIndex which was breaking the deduping logic (which is based on contactId. Bug: 25432987 Change-Id: If8c435e84d191ed012a019a800cf18abbda3d907
-rw-r--r--src/com/android/dialer/list/PhoneFavoritesTileAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/list/PhoneFavoritesTileAdapter.java b/src/com/android/dialer/list/PhoneFavoritesTileAdapter.java
index cd4c10b59..77da7e937 100644
--- a/src/com/android/dialer/list/PhoneFavoritesTileAdapter.java
+++ b/src/com/android/dialer/list/PhoneFavoritesTileAdapter.java
@@ -192,7 +192,7 @@ public class PhoneFavoritesTileAdapter extends BaseAdapter implements
mPhoneNumberTypeIndex = ContactTileLoaderFactory.PHONE_NUMBER_TYPE;
mPhoneNumberLabelIndex = ContactTileLoaderFactory.PHONE_NUMBER_LABEL;
mPinnedIndex = ContactTileLoaderFactory.PINNED;
- mContactIdIndex = ContactTileLoaderFactory.CONTACT_ID;
+ mContactIdIndex = ContactTileLoaderFactory.CONTACT_ID_FOR_DATA;
mPresenceIndex = ContactTileLoaderFactory.CONTACT_PRESENCE;