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

Commit aee3a9f7 authored by Yinglei Wang's avatar Yinglei Wang Committed by Android (Google) Code Review
Browse files

Merge "Use -1 for ListView CollectionInfo"

parents feb275ec 7aa2e1f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4109,7 +4109,7 @@ public class ListView extends AbsListView {
        final int rowsCount = getCount();
        final int selectionMode = getSelectionModeForAccessibility();
        final CollectionInfo collectionInfo = CollectionInfo.obtain(
                rowsCount, 1, false, selectionMode);
                -1, -1, false, selectionMode);
        info.setCollectionInfo(collectionInfo);

        if (rowsCount > 0) {