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

Commit e0d448f3 authored by Benedict Wong's avatar Benedict Wong
Browse files

Expose applyTunnelModeTransform as a system API

Simple change to expose systemAPI for applyTunnelModeTransform

Bug: 36033193
Test: All CTS, unit tests passing
Change-Id: I2d857c048bc0dc80c3949387f946b1f5adf0527e
parent fb24180f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2578,6 +2578,7 @@ package android.net {
  }

  public final class IpSecManager {
    method public void applyTunnelModeTransform(android.net.IpSecManager.IpSecTunnelInterface, int, android.net.IpSecTransform) throws java.io.IOException;
    method public android.net.IpSecManager.IpSecTunnelInterface createIpSecTunnelInterface(java.net.InetAddress, java.net.InetAddress, android.net.Network) throws java.io.IOException, android.net.IpSecManager.ResourceUnavailableException;
  }

+1 −1
Original line number Diff line number Diff line
@@ -748,7 +748,7 @@ public final class IpSecManager {
     * @hide
     */
    @SystemApi
    void applyTunnelModeTransform(IpSecTunnelInterface tunnel, int direction,
    public void applyTunnelModeTransform(IpSecTunnelInterface tunnel, int direction,
            IpSecTransform transform) throws IOException {
        // TODO: call IpSecService
    }