diff options
author | Alan Viverette <alanv@google.com> | 2015-02-17 13:09:04 -0800 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2015-02-17 21:11:36 +0000 |
commit | 2a90fa6d94b7d31e997493d2d0601e5129ec7c3e (patch) | |
tree | 8d8586a9e86ff867101b1415ede1f5f40f05c12c /core | |
parent | 024fd0c6051e01579018fad0c1a56e9e47b195df (diff) | |
download | frameworks_base-2a90fa6d94b7d31e997493d2d0601e5129ec7c3e.zip frameworks_base-2a90fa6d94b7d31e997493d2d0601e5129ec7c3e.tar.gz frameworks_base-2a90fa6d94b7d31e997493d2d0601e5129ec7c3e.tar.bz2 |
Fix year picker initial range
BUG: 19410328
Change-Id: I2a2952eb58eb856f93b7af2f49e08abe71078aa9
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/widget/DatePickerCalendarDelegate.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/widget/DatePickerCalendarDelegate.java b/core/java/android/widget/DatePickerCalendarDelegate.java index e75643ab..61547f6 100644 --- a/core/java/android/widget/DatePickerCalendarDelegate.java +++ b/core/java/android/widget/DatePickerCalendarDelegate.java @@ -192,6 +192,7 @@ class DatePickerCalendarDelegate extends DatePicker.AbstractDatePickerDelegate i mYearPickerView = new YearPickerView(mContext); mYearPickerView.init(this); + mYearPickerView.setRange(mMinDate, mMaxDate); final int yearSelectedCircleColor = a.getColor(R.styleable.DatePicker_yearListSelectorColor, defaultHighlightColor); |