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

Commit bafc8dcf authored by Dave Burke's avatar Dave Burke Committed by Android Git Automerger
Browse files

am 34bc73df: Merge "Revert "Make implementation of isEmpty consistent with...

am 34bc73df: Merge "Revert "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"" into jb-mr2-dev

* commit '34bc73df':
  Revert "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"
parents 40609ff0 34bc73df
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) {