Automated import from //branches/master/...@141829,141829
diff --git a/src/com/android/contacts/ViewContactActivity.java b/src/com/android/contacts/ViewContactActivity.java
index bb9c42d..b66811f 100644
--- a/src/com/android/contacts/ViewContactActivity.java
+++ b/src/com/android/contacts/ViewContactActivity.java
@@ -942,6 +942,11 @@
}
String buildActionString(int actionResId, CharSequence type, boolean lowerCase) {
+ // If there is no type just display an empty string
+ if (type == null) {
+ type = "";
+ }
+
if (lowerCase) {
return getString(actionResId, type.toString().toLowerCase());
} else {