summaryrefslogtreecommitdiff
path: root/framework-t/src
diff options
context:
space:
mode:
authorAaron Huang <huangaaron@google.com>2021-12-15 23:27:18 +0800
committerAaron Huang <huangaaron@google.com>2021-12-19 02:44:24 +0800
commit30a2b03042e26b9d42919e61f005fe3e1be8884f (patch)
tree65c0035e3dd54211a2f2ce38e0066ced0dac5eb6 /framework-t/src
parentc6b33a78bf6ab34a45a5c11ac48884050d94d7d8 (diff)
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
Diffstat (limited to 'framework-t/src')
-rw-r--r--framework-t/src/android/net/IpSecManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework-t/src/android/net/IpSecManager.java b/framework-t/src/android/net/IpSecManager.java
index 837629911c..0b266b226c 100644
--- a/framework-t/src/android/net/IpSecManager.java
+++ b/framework-t/src/android/net/IpSecManager.java
@@ -86,6 +86,7 @@ public final class IpSecManager {
*
* @hide
*/
+ @SystemApi(client = MODULE_LIBRARIES)
public static final int DIRECTION_FWD = 2;
/**