diff options
author | Yorke Lee <yorkelee@google.com> | 2014-03-05 15:53:03 -0800 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-03-06 20:06:19 +0000 |
commit | be28ad8d9e961a64eca765253b4094f46cc8111c (patch) | |
tree | 1d3af777eb59d9d95fc22c6558582e7b21b464fd /src | |
parent | 56e34715b973f0eed3b4a0cec278ea412a89844d (diff) |
Fix for letter tile avatars not displaying properly in calllog DO NOT MERGE
Renable an accidentally disabled line of code which would retrieve
the lookup key from the lookup URI, allowing letter tile avatars
to display with the correct color and letter.
Bug: 13341898
Change-Id: Ic65352053234e37f580aa44d9ed459755c3913f1
(cherry picked from commit a5804f5b62bd87a0c8a35d7651a6862ecc1f220b)
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/calllog/CallLogAdapter.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/com/android/dialer/calllog/CallLogAdapter.java b/src/com/android/dialer/calllog/CallLogAdapter.java index 175a7331d..aee24baad 100644 --- a/src/com/android/dialer/calllog/CallLogAdapter.java +++ b/src/com/android/dialer/calllog/CallLogAdapter.java @@ -642,11 +642,8 @@ public class CallLogAdapter extends GroupingListAdapter contactType = ContactPhotoManager.TYPE_BUSINESS; } - String lookupKey = info.lookupKey; - if (lookupUri != null) { - //lookupKey = ContactInfoHelper.getLookupKeyFromUri(lookupUri); - - } + String lookupKey = lookupUri == null ? null + : ContactInfoHelper.getLookupKeyFromUri(lookupUri); String nameForDefaultImage = null; if (TextUtils.isEmpty(name)) { |