diff options
author | Sai Cheemalapati <saicheems@google.com> | 2014-07-25 16:21:04 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-07-24 15:36:21 +0000 |
commit | 430077741ec3a952a26f9e82af362348de7192a2 (patch) | |
tree | 792e88d1cebed259e917900b5fec5f91bf3e734b /src | |
parent | 60e36d8b2bd1e9a4e5f1eb633a8c58d10f6a2ad4 (diff) | |
parent | ffb26eef68f526926ca1cf8562cc9cf07a32a45c (diff) |
Merge "Hiding reported entries from call log (1/2)." into lmp-dev
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/calllog/ContactInfoHelper.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/android/dialer/calllog/ContactInfoHelper.java b/src/com/android/dialer/calllog/ContactInfoHelper.java index f09c3657e..1f99a8820 100644 --- a/src/com/android/dialer/calllog/ContactInfoHelper.java +++ b/src/com/android/dialer/calllog/ContactInfoHelper.java @@ -231,7 +231,11 @@ public class ContactInfoHelper { } else if (mCachedNumberLookupService != null) { CachedContactInfo cacheInfo = mCachedNumberLookupService.lookupCachedContactFromNumber(mContext, number); - info = cacheInfo != null ? cacheInfo.getContactInfo() : null; + if (cacheInfo != null) { + info = cacheInfo.getContactInfo().isBadData ? null : cacheInfo.getContactInfo(); + } else { + info = null; + } } return info; } |