Allow VPNs to specify their underlying networks.
These are used when responding to getActiveNetworkInfo() (and cousins) when an app is subject to the VPN. Bug: 17460017 Change-Id: Ief7a840c760777a41d3358aa6b8e4cdd99c29f24
This commit is contained in:
parent
7c9871648e
commit
d2b4fe2b2d
1 changed files with 33 additions and 0 deletions
|
|
@ -170,4 +170,5 @@ interface IConnectivityManager
|
|||
|
||||
boolean addVpnAddress(String address, int prefixLength);
|
||||
boolean removeVpnAddress(String address, int prefixLength);
|
||||
boolean setUnderlyingNetworksForVpn(in Network[] networks);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue