summaryrefslogtreecommitdiffstats
path: root/java/com/android/incallui/contactgrid/BottomRow.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/incallui/contactgrid/BottomRow.java')
-rw-r--r--java/com/android/incallui/contactgrid/BottomRow.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/android/incallui/contactgrid/BottomRow.java b/java/com/android/incallui/contactgrid/BottomRow.java
index d0ff1926a..76e0289a5 100644
--- a/java/com/android/incallui/contactgrid/BottomRow.java
+++ b/java/com/android/incallui/contactgrid/BottomRow.java
@@ -124,7 +124,7 @@ public class BottomRow {
if (primaryInfo.location != null) {
return primaryInfo.location;
}
- if (!TextUtils.isEmpty(primaryInfo.number)) {
+ if (!primaryInfo.nameIsNumber && !TextUtils.isEmpty(primaryInfo.number)) {
CharSequence spannedNumber = spanDisplayNumber(primaryInfo.number);
if (primaryInfo.label == null) {
return spannedNumber;