Merge "Improve documentation of IpSecTunnelInterface#setUnderlyingNetwork" am: 9625c2df35

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

Change-Id: I38c900b277fa668fe66d6ac6f6a5230ad2c50920
This commit is contained in:
Treehugger Robot
2021-05-20 20:53:07 +00:00
committed by Automerger Merge Worker

View File

@@ -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