Remove dead code.
Also adds a TYPE_VPN so the VPN can be strongly typed. Change-Id: Ibf39450c480f16ce5ab4c25b47965691b844fb92
This commit is contained in:
parent
cbd6c345bc
commit
b2a03d1782
1 changed files with 8 additions and 5 deletions
|
|
@ -491,11 +491,17 @@ public class ConnectivityManager {
|
|||
*/
|
||||
public static final int TYPE_PROXY = 16;
|
||||
|
||||
/** {@hide} */
|
||||
public static final int MAX_RADIO_TYPE = TYPE_PROXY;
|
||||
/**
|
||||
* A virtual network using one or more native bearers.
|
||||
* It may or may not be providing security services.
|
||||
*/
|
||||
public static final int TYPE_VPN = 17;
|
||||
|
||||
/** {@hide} */
|
||||
public static final int MAX_NETWORK_TYPE = TYPE_PROXY;
|
||||
public static final int MAX_RADIO_TYPE = TYPE_VPN;
|
||||
|
||||
/** {@hide} */
|
||||
public static final int MAX_NETWORK_TYPE = TYPE_VPN;
|
||||
|
||||
/**
|
||||
* If you want to set the default network preference,you can directly
|
||||
|
|
|
|||
Loading…
Reference in a new issue