summaryrefslogtreecommitdiff
path: root/java/boot_jars.go
diff options
context:
space:
mode:
Diffstat (limited to 'java/boot_jars.go')
-rw-r--r--java/boot_jars.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/boot_jars.go b/java/boot_jars.go
index 6223dede8..5d40ec389 100644
--- a/java/boot_jars.go
+++ b/java/boot_jars.go
@@ -21,8 +21,8 @@ import (
// isActiveModule returns true if the given module should be considered for boot
// jars, i.e. if it's enabled and the preferred one in case of source and
// prebuilt alternatives.
-func isActiveModule(ctx android.ConfigAndErrorContext, module android.Module) bool {
- if !module.Enabled(ctx) {
+func isActiveModule(module android.Module) bool {
+ if !module.Enabled() {
return false
}
return android.IsModulePreferred(module)