Merge "Change the const for the unreachable network"

This commit is contained in:
James Mattis
2021-03-31 02:39:15 +00:00
committed by Gerrit Code Review

View File

@@ -6296,8 +6296,8 @@ public class ConnectivityService extends IConnectivityManager.Stub
// Request used to optionally keep vehicle internal network always active // Request used to optionally keep vehicle internal network always active
private final NetworkRequest mDefaultVehicleRequest; private final NetworkRequest mDefaultVehicleRequest;
// TODO replace with INetd.DUMMY_NET_ID when available. // TODO replace with INetd.UNREACHABLE_NET_ID when available.
private static final int NO_SERVICE_NET_ID = 51; private static final int NO_SERVICE_NET_ID = 52;
// Sentinel NAI used to direct apps with default networks that should have no connectivity to a // Sentinel NAI used to direct apps with default networks that should have no connectivity to a
// network with no service. This NAI should never be matched against, nor should any public API // network with no service. This NAI should never be matched against, nor should any public API
// ever return the associated network. For this reason, this NAI is not in the list of available // ever return the associated network. For this reason, this NAI is not in the list of available