Merge "Throw IAE when Network's LinkProperties is null" am: 5345fa1144 am: b5a6b0118a
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2101892 Change-Id: I7f2663d1a67141b652204d6fcc97f936c2f68b33 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -817,10 +817,10 @@ public class IpSecManager {
|
||||
* </ol>
|
||||
*
|
||||
* @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}. If the
|
||||
* IpSecTunnelInterface is later added to this network, all outbound traffic will be
|
||||
* blackholed.
|
||||
* This network MUST be a functional {@link Network} with valid {@link LinkProperties},
|
||||
* and MUST never be the network exposing this IpSecTunnelInterface, otherwise 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
|
||||
@@ -962,7 +962,6 @@ public class IpSecManager {
|
||||
* IP header and IPsec Header on all inbound traffic).
|
||||
* <p>Applications should probably not use this API directly.
|
||||
*
|
||||
*
|
||||
* @param tunnel The {@link IpSecManager#IpSecTunnelInterface} that will use the supplied
|
||||
* transform.
|
||||
* @param direction the direction, {@link DIRECTION_OUT} or {@link #DIRECTION_IN} in which
|
||||
|
||||
Reference in New Issue
Block a user