summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Jihoon Kang <jihoonkang@google.com> 2024-06-10 20:46:09 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-06-10 20:46:09 +0000
commit0030148fcbc83715d51f9e1fc901f08ff875a2d0 (patch)
treefea99e22a94a5f5a6c046b429c6c092f59dc6f3c /java/java.go
parent61d180ac27511de910a7c1a639c34691df0020a1 (diff)
parent98aa8fa8400131af264405f81045b08201d64e33 (diff)
Merge "Remove exportable modules when generating snapshots targeting older platform" into main
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java.go b/java/java.go
index ccccbacdb..08fb6782c 100644
--- a/java/java.go
+++ b/java/java.go
@@ -2180,7 +2180,7 @@ func (al *ApiLibrary) DepsMutator(ctx android.BottomUpMutatorContext) {
// Map where key is the api scope name and value is the int value
// representing the order of the api scope, narrowest to the widest
-var scopeOrderMap = allApiScopes.MapToIndex(
+var scopeOrderMap = AllApiScopes.MapToIndex(
func(s *apiScope) string { return s.name })
func (al *ApiLibrary) sortApiFilesByApiScope(ctx android.ModuleContext, srcFilesInfo []JavaApiImportInfo) []JavaApiImportInfo {