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:29:15 -08:00
parent 55535c83fd
commit 090e0f08b9

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;
}