Switch to label for local contact detection.
Change-Id: Iade59b62865f33376d61a197ad289bc03164b0f3
diff --git a/InCallUI/src/com/android/incallui/CallCardPresenter.java b/InCallUI/src/com/android/incallui/CallCardPresenter.java
index c068069..3e1a2ef 100644
--- a/InCallUI/src/com/android/incallui/CallCardPresenter.java
+++ b/InCallUI/src/com/android/incallui/CallCardPresenter.java
@@ -228,7 +228,7 @@
// TODO: un-stable... must use number field to check if a contact was found
// because the contactinfocache pre-massages the data into the ui fields.
// Need to do massaging outside of contactinfocache.
- if (entry == null || entry.number == null) {
+ if (entry == null || entry.label == null) {
// TODO(klp): currently we can't distinguish between...
// 1) a lookup occurred but failed to find a local contact.
// 2) a lookup has not occurred.