summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2016-01-15 23:50:26 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-01-15 23:50:26 +0000
commit4c28c4120bd94f2b2b3dae73b59d5c17c255d13f (patch)
tree4f163508832084c0378893f73d454b8491052ade
parent3e7324080e9c65b24152a4d462a52dc38384d5b6 (diff)
parent6a6be10b55887f97f0d6a15971cad16a2ca1d405 (diff)
Merge "Display "unknown" in the name field for voicemail with unknown callers." into ub-contactsdialer-b-dev
am: 6a6be10b55 * commit '6a6be10b55887f97f0d6a15971cad16a2ca1d405': Display "unknown" in the name field for voicemail with unknown callers.
-rw-r--r--src/com/android/dialer/calllog/PhoneNumberDisplayUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/calllog/PhoneNumberDisplayUtil.java b/src/com/android/dialer/calllog/PhoneNumberDisplayUtil.java
index 91cd3e1f0..09b42e9f6 100644
--- a/src/com/android/dialer/calllog/PhoneNumberDisplayUtil.java
+++ b/src/com/android/dialer/calllog/PhoneNumberDisplayUtil.java
@@ -78,7 +78,7 @@ public class PhoneNumberDisplayUtil {
} else if (!TextUtils.isEmpty(number)) {
return number.toString() + postDialDigits;
} else {
- return "";
+ return context.getResources().getString(R.string.unknown);
}
}