Revert "Add default route constants to RouteInfo." am: ddf54416c5

Original change: undetermined

Change-Id: I2bb9e893133c5fc85311504826b8fe18982feecf
This commit is contained in:
Robert Greenwalt
2021-05-31 05:56:11 +00:00
committed by Automerger Merge Worker

View File

@@ -45,18 +45,6 @@ public class RouteInfo implements Parcelable {
private final boolean mIsDefault;
private final boolean mIsHost;
/**
* The IPv4 default route.
*/
public static final RouteInfo IPV4_DEFAULT = new RouteInfo(
new LinkAddress(Inet4Address.ANY, 0));
/**
* The IPv6 default route.
*/
public static final RouteInfo IPV6_DEFAULT = new RouteInfo(
new LinkAddress(Inet6Address.ANY, 0));
public RouteInfo(LinkAddress destination, InetAddress gateway) {
if (destination == null) {
if (gateway != null) {