Merge "Do not select any item when the user clicks outside of the list content. Bug #2485544"

This commit is contained in:
Romain Guy
2010-03-04 18:30:52 -08:00
committed by Android (Google) Code Review

View File

@@ -2067,10 +2067,10 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
// Remember where the motion event started
v = getChildAt(motionPosition - mFirstPosition);
mMotionViewOriginalTop = v.getTop();
mMotionX = x;
mMotionY = y;
mMotionPosition = motionPosition;
}
mMotionX = x;
mMotionY = y;
mMotionPosition = motionPosition;
mLastY = Integer.MIN_VALUE;
break;
}