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

Commit 16a24bc4 authored by Alan Viverette's avatar Alan Viverette
Browse files

Cancel the date picker dialog when BUTTON_NEGATIVE is clicked

BUG: 17308290
Change-Id: I2cad1ece9eefc3c48e7574498ff9f79fe60c5f80
parent 719da6ba
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -135,6 +135,9 @@ public class DatePickerDialog extends AlertDialog implements OnClickListener,
                            mDatePicker.getMonth(), mDatePicker.getDayOfMonth());
                }
                break;
            case BUTTON_NEGATIVE:
                cancel();
                break;
        }
    }