Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08dbbcdc authored by Alan Viverette's avatar Alan Viverette
Browse files

Update day of week labels when setting month params in SimpleMonthView

Bug: 27310206
Change-Id: I40c09fb5dddb202a17ac9c6ecee1d6f40644d9e6
parent 52546e46
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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);