Merge "Change the const for the unreachable network" am: 07ff79a595 am: 5522ed6e3c am: 0aa2f9f8ec
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1653190 Change-Id: Id50d1e06f18830025eb30b420b4f6817028cf5c8
This commit is contained in:
@@ -6326,8 +6326,8 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
||||
// Request used to optionally keep vehicle internal network always active
|
||||
private final NetworkRequest mDefaultVehicleRequest;
|
||||
|
||||
// TODO replace with INetd.DUMMY_NET_ID when available.
|
||||
private static final int NO_SERVICE_NET_ID = 51;
|
||||
// TODO replace with INetd.UNREACHABLE_NET_ID when available.
|
||||
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
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user