diff options
author | Yorke Lee <yorkelee@google.com> | 2014-03-05 15:53:03 -0800 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-03-06 11:09:42 -0800 |
commit | a5804f5b62bd87a0c8a35d7651a6862ecc1f220b (patch) | |
tree | 58b794f71adbbb66a81242711d4b7cfbfd0bba0b /src | |
parent | 7d63a49bd5d0d374795329a864f6b62038072dbb (diff) |
Fix for letter tile avatars not displaying properly in calllog
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
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)) { |