Readjust location of NETID_UNSET definition.
This is a tweak to my 8ec11bb change I a-little-too-hastily committed. Change-Id: Ibeee9382109994c66227d1c42aac749e2a274ed7
This commit is contained in:
@@ -534,6 +534,13 @@ public class ConnectivityManager {
|
||||
*/
|
||||
public final static int REQUEST_ID_UNSET = 0;
|
||||
|
||||
/**
|
||||
* A NetID indicating no Network is selected.
|
||||
* Keep in sync with bionic/libc/dns/include/resolv_netid.h
|
||||
* @hide
|
||||
*/
|
||||
public static final int NETID_UNSET = 0;
|
||||
|
||||
private final IConnectivityManager mService;
|
||||
|
||||
private final String mPackageName;
|
||||
@@ -2506,13 +2513,6 @@ public class ConnectivityManager {
|
||||
return NetworkUtils.bindProcessToNetwork(network == null ? NETID_UNSET : network.netId);
|
||||
}
|
||||
|
||||
/**
|
||||
* A NetID indicating no Network is selected.
|
||||
* Keep in sync with bionic/libc/dns/include/resolv_netid.h
|
||||
* @hide
|
||||
*/
|
||||
public static final int NETID_UNSET = 0;
|
||||
|
||||
/**
|
||||
* Returns the {@link Network} currently bound to this process via
|
||||
* {@link #setProcessDefaultNetwork}, or {@code null} if no {@link Network} is explicitly bound.
|
||||
|
||||
Reference in New Issue
Block a user