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

Commit afa8b980 authored by Christopher Tate's avatar Christopher Tate
Browse files

Base date-change alarm on 24h "hour zero," not 12h

Bug 30628519

Change-Id: Ie504748c7fc2d43c713ddc72c39c56a976cc0df0
parent 00a6c297
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2699,7 +2699,7 @@ class AlarmManagerService extends SystemService {
        public void scheduleDateChangedEvent() {
            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);