summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorlucaslin <lucaslin@google.com>2020-11-12 12:48:16 +0800
committerlucaslin <lucaslin@google.com>2020-11-12 12:48:16 +0800
commit113ef8000560659ecf52b1072c8630710d382e7f (patch)
tree849d61a78b29b11070ffa08ee9607de347a74f6d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent32f5d14ceff7f4650cf2882380bd2f9e6845912a (diff)
Separate 2 tests to verify canBeSatisfiedBy()
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: I1391bae9a0fc0298beb8fe80b5f388b492244566
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions