diff options
author | Benedict Wong <benedictwong@google.com> | 2020-01-17 19:41:38 -0800 |
---|---|---|
committer | Benedict Wong <benedictwong@google.com> | 2020-02-19 02:44:34 +0000 |
commit | 24a2be8275b2d41e139e1f53ba79397f5bc9fb44 (patch) | |
tree | a5e2ddf6a2b1f2d0e34f826690b64121a7bd6564 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 522f3c932d5f93b1734cdff680a0de8d701447d9 (diff) |
Add support for starting IKEv2/IPsec VPNs from settings
This commit allows the startLegacyVpn() call to start Platform VPN
profiles, allowing Settings to use the IKEv2/IPsec VPN options
When using an aliased private key, the
Ikev2VpnProfile.KEYSTORE_ALIAS_PREFIX must be prepended to the front of
the alias. This will in turn result in the fromVpnProfile() function to
pull the key from the KeyStore, as opposed to the inline-key that the
VpnManager API uses.
Bug: 148991741
Test: FrameworksNetTests passing, new tests added in subsequent CL
Test: Manually tested
Change-Id: Icbca695c353b2e12e99305676404dbf1a4495949
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions