summaryrefslogtreecommitdiff
path: root/java/sdk_library.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-05-07 17:49:10 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-05-07 17:49:10 +0000
commit3f01580c04bfe37c920e247015cce93cff2451c0 (patch)
treeb2165cd64e2876d8fa4c60bd322de81364143aed /java/sdk_library.go
parent0d4a9ca79225bac10e4b62a663ee0cd09e3b314d (diff)
parenta963b94cde194257fa67ce9596026a4da2fe7523 (diff)
Merge "Make the enabled property configurable" into main
Diffstat (limited to 'java/sdk_library.go')
-rw-r--r--java/sdk_library.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sdk_library.go b/java/sdk_library.go
index 113071fbb..2b6c8f8de 100644
--- a/java/sdk_library.go
+++ b/java/sdk_library.go
@@ -2294,7 +2294,7 @@ func (module *SdkLibrary) getApiDir() string {
// once for public API level and once for system API level
func (module *SdkLibrary) CreateInternalModules(mctx android.DefaultableHookContext) {
// If the module has been disabled then don't create any child modules.
- if !module.Enabled() {
+ if !module.Enabled(mctx) {
return
}