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

Commit 598d143a authored by Chris Tate's avatar Chris Tate Committed by Android Git Automerger
Browse files

am 88fb1453: Merge "DO NOT MERGE Fix bug regarding the comparator sorts Alarms...

am 88fb1453: Merge "DO NOT MERGE Fix bug regarding the comparator sorts Alarms into increasing time order." into mnc-dev

* commit '88fb1453':
  DO NOT MERGE Fix bug regarding the comparator sorts Alarms into increasing time order.
parents 587ae867 88fb1453
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;
            }