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

Commit 3303c267 authored by Christopher Tate's avatar Christopher Tate Committed by android-build-merger
Browse files

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

am: afa8b980

Change-Id: I4dac5d4eab675fde483ab3fe821370b02a3a8b05
parents ffa443f4 afa8b980
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);