summaryrefslogtreecommitdiff
path: root/core/api
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2021-03-18 12:54:37 +0900
committerLorenzo Colitti <lorenzo@google.com>2021-03-18 05:54:53 +0000
commit4763300fab864763e71a4d12fc0768168ebde57f (patch)
tree39308d9c9afa36dd016a505d9a89da6109e04177 /core/api
parent0fcb8d6db42f6c20f6b69d47e02c54e2706f88f9 (diff)
Add a VpnManager.TYPE_VPN_OEM.
This needed for OEMs that have VPN types not supported by AOSP. Bug: 171872481 Test: new test coverage in VpnTransportInfoTest Change-Id: Ic7529bef7f12d2c74a3be5b1a4a2d54fb0d0bfac
Diffstat (limited to 'core/api')
-rw-r--r--core/api/module-lib-current.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/api/module-lib-current.txt b/core/api/module-lib-current.txt
index a21ce7998193..4df72046340b 100644
--- a/core/api/module-lib-current.txt
+++ b/core/api/module-lib-current.txt
@@ -85,6 +85,7 @@ package android.net {
public class VpnManager {
field @Deprecated public static final int TYPE_VPN_LEGACY = 3; // 0x3
field public static final int TYPE_VPN_NONE = -1; // 0xffffffff
+ field public static final int TYPE_VPN_OEM = 4; // 0x4
field public static final int TYPE_VPN_PLATFORM = 2; // 0x2
field public static final int TYPE_VPN_SERVICE = 1; // 0x1
}