commit | e80851e8ece900fc579f0f293ca1c697c8339a8f | [log] [tgz] |
---|---|---|
author | Dmitri Plotnikov <dplotnikov@google.com> | Fri Sep 03 17:40:40 2010 -0700 |
committer | Dmitri Plotnikov <dplotnikov@google.com> | Fri Sep 03 17:40:40 2010 -0700 |
tree | 6e23bce519ee6de521873b774b638fa5c175f2de | |
parent | 7e5865267a95991765dfe6751678b5cd677c9094 [diff] |
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.