From 1a7c1963ba99548d15eb179beb4026b890d1fb62 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Fri, 20 Sep 2013 16:04:34 -0700 Subject: Fix for CallDetailsActivity always showing unknown numbers Bug: 10860826 Change-Id: I62088ef0dedfbdad12ea33963bc66fe5feae0f98 --- src/com/android/dialer/CallDetailActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/android') diff --git a/src/com/android/dialer/CallDetailActivity.java b/src/com/android/dialer/CallDetailActivity.java index 7a0870827..79a995647 100644 --- a/src/com/android/dialer/CallDetailActivity.java +++ b/src/com/android/dialer/CallDetailActivity.java @@ -632,7 +632,7 @@ public class CallDetailActivity extends Activity implements ProximitySensorAware // If this is not a regular number, there is no point in looking it up in the contacts. ContactInfo info = PhoneNumberUtilsWrapper.canPlaceCallsTo(number, numberPresentation) - && new PhoneNumberUtilsWrapper().isVoicemailNumber(number) + && !new PhoneNumberUtilsWrapper().isVoicemailNumber(number) ? mContactInfoHelper.lookupNumber(number, countryIso) : null; if (info == null) { -- cgit v1.2.3