3e3bffbcdbede7512d04141027c7f72c62c3bd5f
In Android R, NetworkSpecifier#satisfiedBy() has changed to NetworkSpecifier#canBeSatisfiedBy(), but its subclass - MatchAllNetworkSpecifier hasn't. In Android S, both of MatchAllNetworkSpecifier and NetworkSpecifier has changed satisfiedBy() to canBeSatisfiedBy(). So if running the latest CTS on R device, it will verify NetworkSpecifier#canBeSatisfiedBy() instead of MatchAllNetworkSpecifier#satisfiedBy() and get the unexpected result. The fix is to separate 2 tests to verify canBeSatisfiedBy(), one is for Android R or older version and the other is for Android S+. Bug: 172401624 Test: Run MatchAllNetworkSpecifierTest on Android R and S. Change-Id: I9aeddaa3e331f609bbdba8ab0c2d6e014123f242 Merged-In: I1391bae9a0fc0298beb8fe80b5f388b492244566
Merge "Remove unused methods from LinkProperties." am:
88e32a8ae6 am: f812dc9b77 am: 57899a690d am: c703b02538
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%