summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorjunyulai <junyulai@google.com>2020-03-23 20:49:43 +0800
committerjunyulai <junyulai@google.com>2020-03-24 10:27:01 +0800
commit4fe1889b52b406dd44424bd773983a05a5e292fa (patch)
tree2d231b2e2b48e736a3c80303fe2d008a4227398d /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd4373f3a5477a329bb1a8492fd058ba178bfa9ba (diff)
Fix addRoute replace default route unexpectedly
In aosp/1203789, if two routes are with the same destination, it will be replaced instead of added when calling addRoute. This breaks scenarios which rely on the ability to add multiple default routes, such as multiple IPv6 default routes learned via address autoconfiguration. This change treats the route is an update if the destination and nexthop are the same, but different in other properties. Test: atest OffloadControllerTest#testSetUpstreamLinkPropertiesWorking Test: atest LinkPropertiesUtilsTest#testLinkPropertiesIdenticalEqual Test: atest ConnectivityServiceTest#testStackedLinkProperties Test: atest ConnectivityServiceTest#testRouteAddDeleteUpdate (only directly related tests are listed) Fix: 152170074 Fix: 151911339 Bug: 142892223 Change-Id: I7153ec9866f14a109ba8155c905e5d9e4f85eb64
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions