Merge "Framework: bugfix for menu selector not showing up properly." into honeycomb-mr2

This commit is contained in:
Adam Powell
2011-06-01 12:48:03 -07:00
committed by Android (Google) Code Review

View File

@@ -4638,6 +4638,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
selectedPos = lookForSelectablePosition(selectedPos, down);
if (selectedPos >= firstPosition && selectedPos <= getLastVisiblePosition()) {
mLayoutMode = LAYOUT_SPECIFIC;
updateSelectorState();
setSelectionInt(selectedPos);
invokeOnItemScrollListener();
} else {