summaryrefslogtreecommitdiff
path: root/java/sdk_library.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-05-01 19:33:59 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-05-01 19:33:59 +0000
commit1256e6f47ad2e2ae5eccefea98c61f85396e800f (patch)
tree7fad202a89bfb4efe98bea8b06c13b20861a19cf /java/sdk_library.go
parent72a12da662a602d7f69186e2efc4a1e7702be504 (diff)
parent0e0d7490625c713bb71c254bd55129b0a30898a3 (diff)
Merge "Make the enabled property configurable" into aosp-main-future
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
}