commit | 3eb2a54e31b08d8cc1e1cdd385c8a96fd8e1c3e6 | [log] [tgz] |
---|---|---|
author | lucaslin <lucaslin@google.com> | Wed Jun 23 08:17:55 2021 +0800 |
committer | lucaslin <lucaslin@google.com> | Fri Jul 30 14:15:38 2021 +0800 |
tree | 860f8f6d76ab22625e9de52b411c09de3e1e8713 | |
parent | 2963649fe4c22d7d1367e4042f88de8b194c9942 [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 Merged-In: I00f49555bbbc8ccf270056f0e4d1bfdd927ef26d