summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-02-17 22:33:03 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-02-17 22:33:04 +0000
commitd611fc4ea648e23ed3a6b311a07a5bd8b3e2927c (patch)
tree634fb2874a4aaaf2f58a9c64aa613fdca4ed4e6f
parent82510fa5a63114e75c0ed154120e0ca92d401524 (diff)
parent2a90fa6d94b7d31e997493d2d0601e5129ec7c3e (diff)
downloadframeworks_base-d611fc4ea648e23ed3a6b311a07a5bd8b3e2927c.zip
frameworks_base-d611fc4ea648e23ed3a6b311a07a5bd8b3e2927c.tar.gz
frameworks_base-d611fc4ea648e23ed3a6b311a07a5bd8b3e2927c.tar.bz2
Merge "Fix year picker initial range" into lmp-mr1-dev
-rw-r--r--core/java/android/widget/DatePickerCalendarDelegate.java1
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);