summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScriptCacheDir.java
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2018-04-26 17:52:03 +0900
committerRemi NGUYEN VAN <reminv@google.com>2018-05-23 13:19:57 +0900
commit4cdb2b7ece44e0c688fc2a6e085a5eec2ad462b5 (patch)
tree7035b68a51798740cbba74fb80a060a5792c05cc /rs/java/android/renderscript/RenderScriptCacheDir.java
parent4aca62556b5baf3a4a369c7c5a265815e187953a (diff)
Fix testRegisterUsageCallback failure in setUp
LocalServices.addService in NetworkStatsService is currently failing with IllegalStateException "Overriding service registration". Setting up LocalServices in the test to avoid this issue might be possible, but moving the registration to the only non-test caller of that constructor as done here solves the issue and avoids side-effects from a constructor. Test: this test passes in master through runtest frameworks-net Bug: b/78487385 Bug: b/80082746 Change-Id: I884a7a8bd7db3fcd220b785ba9914ac8c77720f0
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions