am 0a753cd4: Merge "Fix bug 3357208 - List selector shows as dark black on first pressed state" into honeycomb

* commit '0a753cd481e4ef86275cae9c5869f4609098c358':
  Fix bug 3357208 - List selector shows as dark black on first pressed state
This commit is contained in:
Adam Powell
2011-01-18 08:24:29 -08:00
committed by Android Git Automerger

View File

@@ -2642,6 +2642,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
setPressed(true);
layoutChildren();
positionSelector(mMotionPosition, child);
refreshDrawableState();
final int longPressTimeout = ViewConfiguration.getLongPressTimeout();
final boolean longClickable = isLongClickable();