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

Commit fc302cde authored by Adam Powell's avatar Adam Powell
Browse files

Fix bug 5037537 - Revert "ListView focus bugfix."

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

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