diff --git a/core/java/android/widget/SimpleMonthView.java b/core/java/android/widget/SimpleMonthView.java index ee716df585483..1a81d20bf6626 100644 --- a/core/java/android/widget/SimpleMonthView.java +++ b/core/java/android/widget/SimpleMonthView.java @@ -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);