summaryrefslogtreecommitdiffstats
path: root/api/current.txt
diff options
context:
space:
mode:
authorSreeram Ramachandran <sreeram@google.com>2014-11-11 16:09:21 -0800
committerSreeram Ramachandran <sreeram@google.com>2014-11-21 09:26:18 -0800
commitc2c0beab79a907f63e109eefe2a5aabcf2e3fd8f (patch)
treea0a879c50b307f171dd2b0dc3a5abcb2be4afbc1 /api/current.txt
parent21b5ee3f0e39be4a79bcfb2b79b0529f75f5cb58 (diff)
downloadframeworks_base-c2c0beab79a907f63e109eefe2a5aabcf2e3fd8f.zip
frameworks_base-c2c0beab79a907f63e109eefe2a5aabcf2e3fd8f.tar.gz
frameworks_base-c2c0beab79a907f63e109eefe2a5aabcf2e3fd8f.tar.bz2
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
Diffstat (limited to 'api/current.txt')
-rw-r--r--api/current.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index d25ae96..b5c876b 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -17443,6 +17443,7 @@ package android.net {
method public boolean protect(int);
method public boolean protect(java.net.Socket);
method public boolean protect(java.net.DatagramSocket);
+ method public boolean setUnderlyingNetworks(android.net.Network[]);
field public static final java.lang.String SERVICE_INTERFACE = "android.net.VpnService";
}
@@ -17464,6 +17465,7 @@ package android.net {
method public android.net.VpnService.Builder setConfigureIntent(android.app.PendingIntent);
method public android.net.VpnService.Builder setMtu(int);
method public android.net.VpnService.Builder setSession(java.lang.String);
+ method public android.net.VpnService.Builder setUnderlyingNetworks(android.net.Network[]);
}
}