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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user