Fix bug 5037537 - Revert "ListView focus bugfix."

This reverts commit a86127fe26.
This commit is contained in:
Adam Powell
2011-07-21 18:43:12 -07:00
parent f726c1de8b
commit fc302cdeed

View File

@@ -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;