summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-09-20 16:04:34 -0700
committerYorke Lee <yorkelee@google.com>2013-09-20 16:04:34 -0700
commit1a7c1963ba99548d15eb179beb4026b890d1fb62 (patch)
treec797b9aa961036007fded6ccc50881cac290724a
parent4e710e70b47d1236640ef0e2c98134e15e0c6be2 (diff)
Fix for CallDetailsActivity always showing unknown numbers
Bug: 10860826 Change-Id: I62088ef0dedfbdad12ea33963bc66fe5feae0f98
-rw-r--r--src/com/android/dialer/CallDetailActivity.java2
1 files changed, 1 insertions, 1 deletions
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) {