Skip to content

Commit af36313

Browse files
committed
Fix bug 6330745 - internal fix for spinners
Change-Id: I2897ce5f41f9442714053675405296cab5296ac6
1 parent 108c0b9 commit af36313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/widget/Spinner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ public DropdownPopup(Context context, AttributeSet attrs, int defStyleRes) {
907907
public void onItemClick(AdapterView parent, View v, int position, long id) {
908908
Spinner.this.setSelection(position);
909909
if (mOnItemClickListener != null) {
910-
Spinner.this.performItemClick(null, position, mAdapter.getItemId(position));
910+
Spinner.this.performItemClick(v, position, mAdapter.getItemId(position));
911911
}
912912
dismiss();
913913
}

0 commit comments

Comments
 (0)