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

Commit fcbbe0f9 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by android-build-merger
Browse files

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

am: 9eb0a655

Change-Id: Ibe9928effca29598c59f440018977474debbee4b
parents 0511a75a 9eb0a655
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);
                }
            }
        };
    }