summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2021-05-21 09:18:25 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-05-21 09:18:25 +0000
commit7e982787e11b9f0632f16ed21f99ad83785feffd (patch)
treee0fa9be7cae3e9824ab2b7c09e134d974a79ec2b
parentc30bd1c9ddb25ace7600f956f78429644c8767a0 (diff)
parentd621b43a5d2b5b851120d47fd475d7cc5fc15bbc (diff)
Merge "Improve documentation of IpSecTunnelInterface#setUnderlyingNetwork" into sc-dev
-rw-r--r--core/java/android/net/IpSecManager.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/net/IpSecManager.java b/core/java/android/net/IpSecManager.java
index 01d1aa533a8f..c10680761ff1 100644
--- a/core/java/android/net/IpSecManager.java
+++ b/core/java/android/net/IpSecManager.java
@@ -810,7 +810,9 @@ public final class IpSecManager {
*
* @param underlyingNetwork the new {@link Network} that will carry traffic for this tunnel.
* This network MUST never be the network exposing this IpSecTunnelInterface, otherwise
- * this method will throw an {@link IllegalArgumentException}.
+ * this method will throw an {@link IllegalArgumentException}. If the
+ * IpSecTunnelInterface is later added to this network, all outbound traffic will be
+ * blackholed.
*/
// TODO: b/169171001 Update the documentation when transform migration is supported.
// The purpose of making updating network and applying transforms separate is to leave open