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

Commit 6ce4a46a authored by Steven Dao's avatar Steven Dao Committed by Android (Google) Code Review
Browse files

Merge "Fix GridView isHeading computation"

parents 65b266d9 061b16ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2404,7 +2404,7 @@ public class GridView extends AbsListView {
        }

        final LayoutParams lp = (LayoutParams) view.getLayoutParams();
        final boolean isHeading = lp != null && lp.viewType != ITEM_VIEW_TYPE_HEADER_OR_FOOTER;
        final boolean isHeading = lp != null && lp.viewType == ITEM_VIEW_TYPE_HEADER_OR_FOOTER;
        final boolean isSelected = isItemChecked(position);
        final CollectionItemInfo itemInfo = CollectionItemInfo.obtain(
                row, 1, column, 1, isHeading, isSelected);