Skip to content

Commit f6c8282

Browse files
sganovAndroid (Google) Code Review
authored andcommitted
Merge "NumberPicker truncates the edited value."
2 parents 0e2c701 + f7c83bc commit f6c8282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/widget/NumberPicker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ public NumberPicker(Context context, AttributeSet attrs, int defStyle) {
579579
throw new IllegalArgumentException("minWidth > maxWidth");
580580
}
581581

582-
mComputeMaxWidth = (mMaxWidth == Integer.MAX_VALUE);
582+
mComputeMaxWidth = (mMaxWidth == SIZE_UNSPECIFIED);
583583

584584
attributesArray.recycle();
585585

0 commit comments

Comments
 (0)