Merge "Disallow creating shortcut for directory contacts" into jb-dev
diff --git a/src/com/android/contacts/detail/ContactLoaderFragment.java b/src/com/android/contacts/detail/ContactLoaderFragment.java
index 242b12b..c56f659 100644
--- a/src/com/android/contacts/detail/ContactLoaderFragment.java
+++ b/src/com/android/contacts/detail/ContactLoaderFragment.java
@@ -284,7 +284,8 @@
     }
 
     public boolean isContactCanCreateShortcut() {
-        return mContactData != null && !mContactData.isUserProfile();
+        return mContactData != null && !mContactData.isUserProfile()
+                && !mContactData.isDirectoryEntry();
     }
 
     @Override