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

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

am e9596818: am aa33a487: Merge "Always update date picker position after...

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

* commit 'e9596818':
  Always update date picker position after change in range
parents 124fce2b e9596818
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