Fix Null pointer for exchange contacts IM
diff --git a/src/com/android/contacts/ViewContactActivity.java b/src/com/android/contacts/ViewContactActivity.java
index 9dfa551..ec46690 100644
--- a/src/com/android/contacts/ViewContactActivity.java
+++ b/src/com/android/contacts/ViewContactActivity.java
@@ -779,12 +779,12 @@
// || protocol == CommonDataKinds.Im.PROTOCOL_MSN) {
// entry.maxLabelLines = 2;
// }
-// } else if (protocolObj != null) {
+ if (protocolObj != null) {
String providerName = (String) protocolObj;
entry.label = buildActionString(R.string.actionChat,
providerName, false);
host = providerName.toLowerCase();
-// }
+ }
// Only add the intent if there is a valid host
if (!TextUtils.isEmpty(host)) {