diff options
| author | Sreeram Ramachandran <sreeram@google.com> | 2014-07-23 15:23:15 -0700 |
|---|---|---|
| committer | Sreeram Ramachandran <sreeram@google.com> | 2014-07-25 15:17:23 -0700 |
| commit | 8cd33ed84e94036a5e1201485af7603dc6fb0d9b (patch) | |
| tree | 5b822366b9faecffa2dfc8d6f4e0b70afc05c84b /core/java/android/net/VpnService.java | |
| parent | 2b92253021f6b117786ed445a42e19df9916d619 (diff) | |
Implement support for bypassable VPNs.
Bypassable VPNs grab all traffic by default (just like secure VPNs), but:
+ They allow all apps to choose other networks using the multinetwork APIs.
If these other networks are insecure ("untrusted"), they will enforce that the
app holds the necessary permissions, such as CHANGE_NETWORK_STATE.
+ They support consistent routing. If an app has an existing connection over
some other network when the bypassable VPN comes up, it's not interrupted.
Bug: 15347374
Change-Id: Iaee9c6f6fa8103215738570d2b65d3fcf10343f3
Diffstat (limited to 'core/java/android/net/VpnService.java')
| -rw-r--r-- | core/java/android/net/VpnService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/net/VpnService.java b/core/java/android/net/VpnService.java index 3fd415fc9f6a..4b07e3fa3b91 100644 --- a/core/java/android/net/VpnService.java +++ b/core/java/android/net/VpnService.java @@ -563,7 +563,7 @@ public class VpnService extends Service { * @return this {@link Builder} object to facilitate chaining of method calls. */ public Builder allowBypass() { - // TODO + mConfig.allowBypass = true; return this; } |
