From 1677ea7de5a3ac268f2cd25eec1038658fb72e91 Mon Sep 17 00:00:00 2001 From: junyulai Date: Fri, 25 Jan 2019 14:28:26 +0800 Subject: [PATCH] Hide Keepalive offload API in IpSec Since the new keepalive API is exported in ConnectivityManager, hide Keepalive API in IpSec, also make system-current.txt sync for this part. Bug: 114151147 Test: m -j Change-Id: I076030bdbab1cd7d69f6a034577d529970b050dc --- core/java/android/net/IpSecTransform.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/java/android/net/IpSecTransform.java b/core/java/android/net/IpSecTransform.java index 23c8aa368d..e519fdf65e 100644 --- a/core/java/android/net/IpSecTransform.java +++ b/core/java/android/net/IpSecTransform.java @@ -257,7 +257,6 @@ public final class IpSecTransform implements AutoCloseable { * * @hide */ - @SystemApi public static class NattKeepaliveCallback { /** The specified {@code Network} is not connected. */ public static final int ERROR_INVALID_NETWORK = 1; @@ -288,7 +287,6 @@ public final class IpSecTransform implements AutoCloseable { * * @hide */ - @SystemApi @RequiresPermission(anyOf = { android.Manifest.permission.MANAGE_IPSEC_TUNNELS, android.Manifest.permission.PACKET_KEEPALIVE_OFFLOAD @@ -331,7 +329,6 @@ public final class IpSecTransform implements AutoCloseable { * * @hide */ - @SystemApi @RequiresPermission(anyOf = { android.Manifest.permission.MANAGE_IPSEC_TUNNELS, android.Manifest.permission.PACKET_KEEPALIVE_OFFLOAD