title: DatePicker selects date before minDate
body: <p>Updates:    </p>
  
  <pre><code>DatePickerDialog datePickerDialog = new DatePickerDialog(getContext(), new DatePickerDialog.OnDateSetListener() {
          @Override
          public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) {
              // do some stuff
          }
      }, year, month, day);
  
  DatePicker datePicker = datePickerDialog.getDatePicker();
  datePicker.updateDate(2018, 2, 7);
  datePicker.setMinDate(1272920400000L); //milliseconds since epoch for 2010.04.10
  datePickerDialog.show();
  </code></pre>
  
  <p>The problem happens inside any DatePicker object, it's not because of my code. You just go inside a DatePickerDialog and try to replicate.</p>
  
  <hr>
  
  <p>I have a DatePicker and I've set minDate to be 4th of May 2010.</p>
  
  <p>But when you select, for example, 1st May 2011, and then click left arrow until you reach May 2010, it will be automatically selecte 1st May 2010, which is unavailable. Then, OK button will work.</p>
  
  <p>What do you think about this? Is there a way to solve it? I've searched all the Internet and didn't find anything. Thank you!</p>
  
  <p><a href="https://i.stack.imgur.com/dNRCD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dNRCD.png" alt="enter image description here"></a></p>