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

Commit 9eb0a655 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Return "null" cycles for deprecated callers." into pi-dev

parents a6ee4a49 e67463db
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -270,8 +270,12 @@ public class NetworkPolicyManager {

            @Override
            public Pair<ZonedDateTime, ZonedDateTime> next() {
                if (hasNext()) {
                    final Range<ZonedDateTime> r = it.next();
                    return Pair.create(r.getLower(), r.getUpper());
                } else {
                    return Pair.create(null, null);
                }
            }
        };
    }