am dce995ea: Merge "Update ContactListItemView.setIsSectionHeaderEnabled when binding view"
* commit 'dce995ea379959f434e9c4361d70b2148c47bc51':
Update ContactListItemView.setIsSectionHeaderEnabled when binding view
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);