summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-06-23 15:36:36 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-06-23 15:36:36 +0000
commit2afa8915bb32e43c1f59240d44740e2dcbfb8235 (patch)
tree4deb57e00baad4f58e5d6b340bafe6cabce06f2d /java/java.go
parenta580b5ef0f3a6aa457534ca3123955d9a8ae4224 (diff)
parent71b33cca9d3a589badc714063e47a28b94df31a1 (diff)
Merge "Add commonSdkLibraryAndImportModule interface"
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/java.go b/java/java.go
index ae8adf277..71c1b3324 100644
--- a/java/java.go
+++ b/java/java.go
@@ -643,7 +643,7 @@ func LibraryFactory() android.Module {
module.addHostAndDeviceProperties()
- module.initModuleAndImport(&module.ModuleBase)
+ module.initModuleAndImport(module)
android.InitApexModule(module)
android.InitSdkAwareModule(module)
@@ -1496,7 +1496,7 @@ func ImportFactory() android.Module {
&module.dexer.dexProperties,
)
- module.initModuleAndImport(&module.ModuleBase)
+ module.initModuleAndImport(module)
module.dexProperties.Optimize.EnabledByDefault = false