diff options
author | lucaslin <lucaslin@google.com> | 2021-06-23 08:17:55 +0800 |
---|---|---|
committer | lucaslin <lucaslin@google.com> | 2021-06-23 08:17:55 +0800 |
commit | d4c4a2c95b605c17b184e2c69a395a3d2303d50e (patch) | |
tree | 66b6a0594ccba96b3afce6e6e0220d42a8003149 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions