Framework: bugfix for menu selector not showing up properly.

Menu selector wasn't showing up properly because selector state wasn't updated after touch mode.  Added this to resurrectselection call.

http://b/issue?id=4372583

TESTED = runs on M4.

Change-Id: I349c3b86f4e8a1a02a20494b547859d0c12867ee
This commit is contained in:
Justin Koh
2011-05-31 18:51:51 -07:00
committed by Adam Powell
parent 8656ba1298
commit 3c7b96a346

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 {