Skip to content

Commit c8cbf5d

Browse files
adampAndroid (Google) Code Review
authored andcommitted
Merge "Fix bug 6330745 - internal fix for spinners"
2 parents 67ae551 + af36313 commit c8cbf5d

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)