diff options
author | Rubin Xu <rubinxu@google.com> | 2020-06-11 16:40:13 +0100 |
---|---|---|
committer | Rubin Xu <rubinxu@google.com> | 2020-06-17 12:01:41 +0100 |
commit | c3dec3448d047efc50f6526addbb2233f1f2ff27 (patch) | |
tree | 0f8d6a998938f1689aec4ba3aad28bb2a5ab3505 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 85cf423804e34536dc2c36e3043d78a0e829f47d (diff) |
Treat RouteInfo with different interfaces as different routes
On Android different interfaces usually use different routing tables.
As a result, a change in interface should not be treated as route
update, but rather a remove and an add.
This change fixes a bug in VPN seamless handover where routes
failed to be updated when a new tunnel interface replaces the existing
one within the same network.
Bug: 158696878
Test: atest com.android.cts.net.HostsideVpnTests
Test: atest NetworkStackTests
Test: atest CtsNetTestCases
Test: atest FrameworksNetTests
Change-Id: I57987233d42a0253eaee2e1ca5f28728c2354620
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions