summaryrefslogtreecommitdiff
path: root/java/hiddenapi_singleton.go
diff options
context:
space:
mode:
author LaMont Jones <lamontjones@google.com> 2023-05-16 00:58:37 +0000
committer LaMont Jones <lamontjones@google.com> 2023-05-19 20:31:32 +0000
commit0c10e4dcc027e341655e8eedc20bd77f9539a22b (patch)
tree84843d33683b21c94e695d2251b1fe20c58cb4fb /java/hiddenapi_singleton.go
parente59c0db5360b850b444c3bed9b92b0fd30b15e1e (diff)
Parallelize singleton execution
Bug: 281536768 Test: manual, presubmits Change-Id: I57fdc76ba6b277e88e196b506af87127a530fd37
Diffstat (limited to 'java/hiddenapi_singleton.go')
-rw-r--r--java/hiddenapi_singleton.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/hiddenapi_singleton.go b/java/hiddenapi_singleton.go
index 52934a327..d4ee4fc9f 100644
--- a/java/hiddenapi_singleton.go
+++ b/java/hiddenapi_singleton.go
@@ -25,7 +25,7 @@ func init() {
}
func RegisterHiddenApiSingletonComponents(ctx android.RegistrationContext) {
- ctx.RegisterSingletonType("hiddenapi", hiddenAPISingletonFactory)
+ ctx.RegisterParallelSingletonType("hiddenapi", hiddenAPISingletonFactory)
}
var PrepareForTestWithHiddenApiBuildComponents = android.FixtureRegisterWithContext(RegisterHiddenApiSingletonComponents)