Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b44d66fa authored by Adam Powell's avatar Adam Powell Committed by The Android Automerger
Browse files

Revert "Make implementation of isEmpty consistent with implementation of...

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

This reverts commit ef2277ec.

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

Bug 9372495
parent aab34539
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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) {