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

Commit e9596818 authored by Alan Viverette's avatar Alan Viverette Committed by Android Git Automerger
Browse files

am aa33a487: Merge "Always update date picker position after change in range" into lmp-mr1-dev

* commit 'aa33a487':
  Always update date picker position after change in range
parents af53bfd0 aa33a487
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -107,10 +107,10 @@ class DayPickerView extends ListView implements AbsListView.OnScrollListener,

        mAdapter.setRange(mMinDate, mMaxDate);

        if (constrainCalendar(mSelectedDay, mMinDate, mMaxDate)) {
        // Changing the min/max date changes the selection position since we
        // don't really have stable IDs.
        goTo(mSelectedDay, false, true, true);
    }
    }

    /**
     * Constrains the supplied calendar to stay within the min and max