Merge "Midnight should mean midnight" into lmp-mr1-dev

This commit is contained in:
Christopher Tate
2014-12-02 23:43:58 +00:00
committed by Android (Google) Code Review

View File

@@ -98,7 +98,7 @@ public class MountServiceIdler extends JobService {
private static Calendar tomorrowMidnight() {
Calendar calendar = Calendar.getInstance();
calendar.setTimeInMillis(System.currentTimeMillis());
calendar.set(Calendar.HOUR, 0);
calendar.set(Calendar.HOUR_OF_DAY, 0);
calendar.set(Calendar.MINUTE, 0);
calendar.set(Calendar.SECOND, 0);
calendar.set(Calendar.MILLISECOND, 0);