summaryrefslogtreecommitdiff
path: root/java/sdk.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2024-08-13 15:56:16 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-08-13 15:56:16 +0000
commit246b43049c88572de399648718f70a28d3b245ba (patch)
treed35bda386e8cc8f0e73cc9e3c883706c975dfe17 /java/sdk.go
parentf20696e112ee6d06a9327a2381bd21dc387a87d0 (diff)
parent663e4508dc4fe228696ede997d5fca24e4c1431e (diff)
Merge "Merge SingletonProviderContext with OtherModuleProviderContext" into main
Diffstat (limited to 'java/sdk.go')
-rw-r--r--java/sdk.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sdk.go b/java/sdk.go
index 4ef4ee251..dd198ac57 100644
--- a/java/sdk.go
+++ b/java/sdk.go
@@ -278,7 +278,7 @@ func createFrameworkAidl(stubsModules []string, path android.WritablePath, ctx a
ctx.VisitAllModules(func(module android.Module) {
// Collect dex jar paths for the modules listed above.
- if j, ok := android.SingletonModuleProvider(ctx, module, JavaInfoProvider); ok {
+ if j, ok := android.OtherModuleProvider(ctx, module, JavaInfoProvider); ok {
name := ctx.ModuleName(module)
if i := android.IndexList(name, stubsModules); i != -1 {
stubsJars[i] = j.HeaderJars