diff options
| author | Chiachang Wang <chiachangwang@google.com> | 2022-03-10 15:18:17 +0800 |
|---|---|---|
| committer | Chiachang Wang <chiachangwang@google.com> | 2022-03-10 15:46:38 +0800 |
| commit | 9987665d78f81bb453a21f88ad48bf1d0ec2429d (patch) | |
| tree | 65966c0abaf759461bfc4e05b76e8a4e7a76d4fc /Tethering/common/TetheringLib/src/android/net/TetheringManager.java | |
| parent | e6953d54a5f60f5e2aab72a24d5c9a422ae334a9 (diff) | |
Add protection for setLocalRoutesExcludedForVpn
setLocalRoutesExcludedForVpn() was added in T for local route
exclusion in VPN. It relies on the behavior change in netd which
is inside platform and will not be updated with mainline update.
Add protection on setLocalRoutesExcludedForVpn to prevent the
API misused on SDK before T.
Bug: 223356811
Test: atest FrameworksNetTests
Change-Id: Ic2927f5c335ddd0c3defd4c377542ce6907ab435
Diffstat (limited to 'Tethering/common/TetheringLib/src/android/net/TetheringManager.java')
0 files changed, 0 insertions, 0 deletions
