diff options
-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)) { |