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

Commit 6c8519cf authored by Adam Powell's avatar Adam Powell Committed by Android (Google) Code Review
Browse files

Merge "Fix bug 5037537 - Revert "ListView focus bugfix.""

parents 44b578aa fc302cde
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -4638,9 +4638,6 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
                            childrenTop += getVerticalFadingEdgeLength();
                        }
                    }
                    // Don't ever focus a disabled item.
                    if (!mAdapter.isEnabled(i)) continue;

                    if (top >= childrenTop) {
                        // Found a view whose top is fully visisble
                        selectedPos = firstPosition + i;