Revert "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"

This reverts commit ef2277ec58.

This caused a regression for some apps relying on the old behavior.

Bug 9372495
This commit is contained in:
Adam Powell
2013-06-12 17:38:25 -07:00
parent a37c3f18e6
commit fc93d0c108

View File

@@ -79,8 +79,7 @@ public class HeaderViewListAdapter implements WrapperListAdapter, Filterable {
}
public boolean isEmpty() {
return (mAdapter == null || mAdapter.isEmpty())
&& getFootersCount() + getHeadersCount() == 0;
return mAdapter == null || mAdapter.isEmpty();
}
private boolean areAllListInfosSelectable(ArrayList<ListView.FixedViewInfo> infos) {