commit | d4c4a2c95b605c17b184e2c69a395a3d2303d50e | [log] [tgz] |
---|---|---|
author | lucaslin <lucaslin@google.com> | Wed Jun 23 08:17:55 2021 +0800 |
committer | lucaslin <lucaslin@google.com> | Wed Jun 23 08:17:55 2021 +0800 |
tree | 66b6a0594ccba96b3afce6e6e0220d42a8003149 | |
parent | ccc5c7c345c0594781a9eac2c8cd14dd66498b2a [diff] |
Throw UnsupportedOperationException if startLegacyVpn is called Legacy VPN is deprecated starting from Android S. So this API shouldn't be called if the initial SDK version of device is Android S+. Otherwise, UnsupportedOperationException will be thrown. Bug: 189808606 Test: 1. make gts && gts-tradefed 2. run gts --module GtsNetworkStackHostTestCases Change-Id: I00f49555bbbc8ccf270056f0e4d1bfdd927ef26d