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

Commit 5ee9434e 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

am: fcbbe0f9

Change-Id: Ie4d4431a56dc4b7062d547b9e6b7828c13a64cb5
parents 377d8361 fcbbe0f9
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);
                }
            }
        };
    }