commit | 64e5f3e6f7c38962707a5b8a7dfb1bf5ec161e15 | [log] [tgz] |
---|---|---|
author | lucaslin <lucaslin@google.com> | Tue Jun 29 15:22:35 2021 +0800 |
committer | Lucas Lin <lucaslin@google.com> | Tue Jun 29 07:40:33 2021 +0000 |
tree | b242b90c6291c96bb766424dac1e26909886cc7e | |
parent | 8e4f478fb82dabed9d7bb926946d4dfae144c81c [diff] |
Fix Ikev2 vpn cannot establish through startLegacyVpn() Settings will also call startLegacyVpn() to bring up Ikev2 VPN, so it's needed to add a vpn type check in startLegacyVpn(). Otherwise, UnsupportedOperationException will be thrown when Settings tries to bring up Ikev2 VPN. Bug: 191937302 Bug: 188749090 Bug: 189808606 Test: 1. make gts && gts-tradefed 2. run gts --module GtsNetworkStackHostTestCases Change-Id: I752c39bd1bf953a11bdf62e6f02f99f48fef23c4