summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChiao Cheng <chiaocheng@google.com>2013-08-28 15:16:23 -0700
committerChiao Cheng <chiaocheng@google.com>2013-08-28 15:16:23 -0700
commite6b3841bb81e14d3ae433521b9df8638c7c0f09e (patch)
treeefeaa44485f4f7fe34e1aea9b7c315e2d32f210b
parentfacff288cfbdfcfd9281a64fa05a78532acf3d90 (diff)
Switch to label for local contact detection.
Change-Id: Iade59b62865f33376d61a197ad289bc03164b0f3
-rw-r--r--InCallUI/src/com/android/incallui/CallCardPresenter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/InCallUI/src/com/android/incallui/CallCardPresenter.java b/InCallUI/src/com/android/incallui/CallCardPresenter.java
index c06806926..3e1a2ef93 100644
--- a/InCallUI/src/com/android/incallui/CallCardPresenter.java
+++ b/InCallUI/src/com/android/incallui/CallCardPresenter.java
@@ -228,7 +228,7 @@ public class CallCardPresenter extends Presenter<CallCardPresenter.CallCardUi>
// 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.