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

Commit 2c06afe1 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 am: 3303c267

am: db5188b6

Change-Id: Id83b79ed5cfd486e2314b4034662b9501008f4b9
parents f7d5c70c db5188b6
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);