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

Commit 88fb1453 authored by Chris Tate's avatar Chris Tate Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE Fix bug regarding the comparator sorts Alarms into...

Merge "DO NOT MERGE Fix bug regarding the comparator sorts Alarms into increasing time order." into mnc-dev
parents b0db15c6 1acd32a6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1729,8 +1729,8 @@ class AlarmManagerService extends SystemService {
     */
    public static class IncreasingTimeOrder implements Comparator<Alarm> {
        public int compare(Alarm a1, Alarm a2) {
            long when1 = a1.when;
            long when2 = a2.when;
            long when1 = a1.whenElapsed;
            long when2 = a2.whenElapsed;
            if (when1 - when2 > 0) {
                return 1;
            }