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

Commit d35d826f authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android (Google) Code Review
Browse files

Merge "Catch creation of NetworkRequest without NetCap" into lmp-dev

parents 2d3f9033 f5b74f98
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -52,6 +52,9 @@ public class NetworkRequest implements Parcelable {
     * @hide
     */
    public NetworkRequest(NetworkCapabilities nc, int legacyType, int rId) {
        if (nc == null) {
            throw new NullPointerException();
        }
        requestId = rId;
        networkCapabilities = nc;
        this.legacyType = legacyType;