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

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

Reschedule date-change alarm whenever the time is set

am: cf02471c

Change-Id: Iae07d6838e877e105ee31a7138303573c257511f
parents 6075a5b7 cf02471c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2472,8 +2472,10 @@ class AlarmManagerService extends SystemService {
                            Slog.v(TAG, "Time changed notification from kernel; rebatching");
                        }
                        removeImpl(mTimeTickSender);
                        removeImpl(mDateChangeSender);
                        rebatchAllAlarms();
                        mClockReceiver.scheduleTimeTickEvent();
                        mClockReceiver.scheduleDateChangedEvent();
                        synchronized (mLock) {
                            mNumTimeChanged++;
                            mLastTimeChangeClockTime = nowRTC;