Fixing an exception in Strequent list

Change-Id: Ic85a7a2d962e93b6550775a153b389005b4af7d1
diff --git a/src/com/android/contacts/list/StrequentContactListAdapter.java b/src/com/android/contacts/list/StrequentContactListAdapter.java
index 9f1910e..36d5fd8 100644
--- a/src/com/android/contacts/list/StrequentContactListAdapter.java
+++ b/src/com/android/contacts/list/StrequentContactListAdapter.java
@@ -203,7 +203,11 @@
         }
 
         bindName(view, cursor);
-        bindQuickContact(view, partition, cursor);
+        if (isQuickContactEnabled()) {
+            bindQuickContact(view, partition, cursor);
+        } else {
+            bindPhoto(view, cursor);
+        }
         bindPresence(view, cursor);
 
         // Make the call button visible if requested.