Merge "Update day of week labels when setting month params in SimpleMonthView" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d51afa4525
@@ -849,10 +849,12 @@ class SimpleMonthView extends View {
|
||||
mEnabledDayStart = MathUtils.constrain(enabledDayStart, 1, mDaysInMonth);
|
||||
mEnabledDayEnd = MathUtils.constrain(enabledDayEnd, mEnabledDayStart, mDaysInMonth);
|
||||
|
||||
updateMonthYearLabel();
|
||||
updateDayOfWeekLabels();
|
||||
|
||||
// Invalidate cached accessibility information.
|
||||
mTouchHelper.invalidateRoot();
|
||||
|
||||
updateMonthYearLabel();
|
||||
invalidate();
|
||||
|
||||
if (DEBUG_WRONG_DATE) {
|
||||
Log.d(LOG_TAG, "mMonth = " + mMonth);
|
||||
|
||||
Reference in New Issue
Block a user