Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea803f67 authored by Jean Chalard's avatar Jean Chalard Committed by Automerger Merge Worker
Browse files

Merge "Add documentation about VpnProfile#setExcludeLocalRoutes" am:...

Merge "Add documentation about VpnProfile#setExcludeLocalRoutes" am: 649c2ea2 am: 95535fcf am: 9cc469b5 am: 5524a9c9

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1944533

Change-Id: I53e9d50dd0aafb847c4d2abec1c8932965c56987
parents 38e24b41 5524a9c9
Loading
Loading
Loading
Loading
+16 −2
Original line number Original line Diff line number Diff line
@@ -918,6 +918,20 @@ public final class Ikev2VpnProfile extends PlatformVpnProfile {
        /**
        /**
         * Sets whether the local traffic is exempted from the VPN.
         * Sets whether the local traffic is exempted from the VPN.
         *
         *
         * When this is set, the system will not use the VPN network when an app
         * tries to send traffic for an IP address that is on a local network.
         *
         * Note that there are important security implications. In particular, the
         * networks that the device connects to typically decides what IP addresses
         * are part of the local network. This means that for VPNs setting this
         * flag, it is possible for anybody to set up a public network in such a
         * way that traffic to arbitrary IP addresses will bypass the VPN, including
         * traffic to services like DNS. When using this API, please consider the
         * security implications for your particular case.
         *
         * Note that because the local traffic will always bypass the VPN,
         * it is not possible to set this flag on a non-bypassable VPN.
         *
         * @hide TODO(184750836): unhide once the implementation is completed
         * @hide TODO(184750836): unhide once the implementation is completed
         */
         */
        @NonNull
        @NonNull