diff options
author | Alan Viverette <alanv@google.com> | 2015-02-17 22:33:03 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-02-17 22:33:04 +0000 |
commit | d611fc4ea648e23ed3a6b311a07a5bd8b3e2927c (patch) | |
tree | 634fb2874a4aaaf2f58a9c64aa613fdca4ed4e6f /core | |
parent | 82510fa5a63114e75c0ed154120e0ca92d401524 (diff) | |
parent | 2a90fa6d94b7d31e997493d2d0601e5129ec7c3e (diff) | |
download | frameworks_base-d611fc4ea648e23ed3a6b311a07a5bd8b3e2927c.zip frameworks_base-d611fc4ea648e23ed3a6b311a07a5bd8b3e2927c.tar.gz frameworks_base-d611fc4ea648e23ed3a6b311a07a5bd8b3e2927c.tar.bz2 |
Merge "Fix year picker initial range" into lmp-mr1-dev
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); |