Update ContactListItemView.setIsSectionHeaderEnabled when binding view

Every time a ContactListItemView is bound with new contact details, it
needs to be reinitialized with the correct settings, in case a previous
instance is being recycled by ListView (e.g. transitioning from All
contacts in People to search in People).

Bug: 14437531
Change-Id: Ia1883ee43c4fe97b10f5c814fd8e34725cfcd89c
diff --git a/src/com/android/contacts/common/list/ContactListAdapter.java b/src/com/android/contacts/common/list/ContactListAdapter.java
index fb50e3e..d1ef901 100644
--- a/src/com/android/contacts/common/list/ContactListAdapter.java
+++ b/src/com/android/contacts/common/list/ContactListAdapter.java
@@ -208,6 +208,7 @@
 
     protected void bindSectionHeaderAndDivider(ContactListItemView view, int position,
             Cursor cursor) {
+        view.setIsSectionHeaderEnabled(isSectionHeaderDisplayEnabled());
         if (isSectionHeaderDisplayEnabled()) {
             Placement placement = getItemPlacementInSection(position);
             view.setSectionHeader(placement.sectionHeader);