am d02cdeec: Fix NPE: Dial-Button pushed while a non-actionable item is selected Bug:2887049

Merge commit 'd02cdeec0040c756e488a2251fae2a5908051410' into gingerbread-plus-aosp

* commit 'd02cdeec0040c756e488a2251fae2a5908051410':
  Fix NPE: Dial-Button pushed while a non-actionable item is selected
diff --git a/src/com/android/contacts/ViewContactActivity.java b/src/com/android/contacts/ViewContactActivity.java
index ead6a4a..a4a0892 100644
--- a/src/com/android/contacts/ViewContactActivity.java
+++ b/src/com/android/contacts/ViewContactActivity.java
@@ -782,7 +782,7 @@
                 int index = mListView.getSelectedItemPosition();
                 if (index != -1) {
                     ViewEntry entry = ViewAdapter.getEntry(mSections, index, SHOW_SEPARATORS);
-                    if (entry != null &&
+                    if (entry != null && entry.intent != null &&
                             entry.intent.getAction() == Intent.ACTION_CALL_PRIVILEGED) {
                         startActivity(entry.intent);
                         return true;