Change date on CustomCalendar

The date of the calendar is set by converting the epoch time based on
the local time zone. We choose at date at 12:00 GMT so that it will
be on the same day no matter which time zone is considered.

Test: part of testActivity
Change-Id: Ib36a5b45f69323265dd5ceaa17eeac553fc2d071
(cherry picked from commit 896cc3a794bb6e173c1e53e97f70007c3e24de38)
This commit is contained in:
Jerome Gaillard
2016-11-11 15:17:09 +00:00
parent 4570fc9f28
commit 7638c49c84

View File

@@ -26,6 +26,6 @@ public class CustomCalendar extends CalendarView {
}
private void init() {
setDate(871703200000L, false, true);
setDate(871732800000L, false, true);
}
}