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

Commit af43104d authored by Gitsaibot's avatar Gitsaibot Committed by Gitsaibot
Browse files

Don't reuse timeObj to avoid incorrect alarm time

parent 06be0df6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -206,7 +206,7 @@ public class AlarmScheduler {
                long localStartTime;
                if (allday) {
                    // Adjust allday to local time.
                    localStartTime = Utils.convertAlldayUtcToLocal(timeObj, begin,
                    localStartTime = Utils.convertAlldayUtcToLocal(null, begin,
                            Utils.getCurrentTimezone());
                } else {
                    localStartTime = begin;