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

This commit is contained in:
Adam Powell
2011-01-17 18:54:13 -08:00
committed by Android (Google) Code Review

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();