Update day of week labels when setting month params in SimpleMonthView
Bug: 27310206 Change-Id: I40c09fb5dddb202a17ac9c6ecee1d6f40644d9e6
This commit is contained in:
@@ -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