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

Commit 6b501d8a authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Use RouteInfo API constructor in VpnService"

parents 8359ebec 6e9ab055
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -596,7 +596,8 @@ public class VpnService extends Service {
                    }
                }
            }
            mRoutes.add(new RouteInfo(new IpPrefix(address, prefixLength), null));
            mRoutes.add(new RouteInfo(new IpPrefix(address, prefixLength), null, null,
                RouteInfo.RTN_UNICAST));
            mConfig.updateAllowedFamilies(address);
            return this;
        }