summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2020-11-16 16:05:44 +0900
committerLorenzo Colitti <lorenzo@google.com>2021-01-28 19:43:58 +0900
commit7c4ae16b94ce8f36e4e047ac4c825794d1c21db2 (patch)
treea30ea9f7b9837b92f3b97baef8050029a9d2a84e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent334a66342c799018f25c015c54a2c2c017e1ec36 (diff)
Simplify MockVpn.
This CL removes four methods in MockVpn by slightly changing the test code to leverage the actual methods implemented by the (production) Vpn superclass. This works because setting mInterface results in isRunningLocked() returning true, which makes a number of methods behave as if the VPN is connected (which is what the test expects). The more realistic behaviour exposes a minor bug in the treatment of underlying networks. Add a TODO to fix it. Bug: 172870110 Test: test-only change Change-Id: I49421183538ba61ca790af71e309ece36b653bf9 Merged-In: I49421183538ba61ca790af71e309ece36b653bf9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions