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

Commit 935cafba authored by Aaron Huang's avatar Aaron Huang
Browse files

Make IpSecManager.DIRECTION_FWD @SystemApi

IpSecManager.DIRECTION_FWD is used by VcnGatewayConnection and
it will be not visible to platform after IpSec was moved into
Connectivity mainline module. Therefore, make DIRECTION_FWD
@SystemApi so that it can be used by VcnGatewayConnection.

Bug: 204153604
Test: FrameworksNetTests
Change-Id: I80dc2a5b4940504820cee0d8e2d2e59ef3fcca18
parent db051569
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -202,6 +202,10 @@ package android.net {
    field @NonNull public static final android.os.Parcelable.Creator<android.net.EthernetNetworkSpecifier> CREATOR;
  }

  public final class IpSecManager {
    field public static final int DIRECTION_FWD = 2; // 0x2
  }

  public static final class IpSecManager.UdpEncapsulationSocket implements java.lang.AutoCloseable {
    method public int getResourceId();
  }
+1 −0
Original line number Diff line number Diff line
@@ -86,6 +86,7 @@ public final class IpSecManager {
     *
     * @hide
     */
    @SystemApi(client = MODULE_LIBRARIES)
    public static final int DIRECTION_FWD = 2;

    /**