summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorJaewoong Jung <jungjw@google.com>2020-12-17 09:43:28 -0800
committerJaewoong Jung <jungjw@google.com>2020-12-17 09:43:28 -0800
commit4b97a5661584e6db7942146e6dd0f343f4c6108e (patch)
tree1cd28a341e60e937cf9c053efba0fda9a4d81e31 /java/java.go
parent1a74be780b27b6540799dba4a038f6cf1431d0fe (diff)
Remove the return value from dexpreopt
dexpreopt doesn't strip dex files from the input jar anymore, so there's no point returning the input jar path untouched. Test: m nothing + TreeHugger Change-Id: I8fde6cdc19e85a2fbc946513696417b945c5de0f
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 02d78f2bf..9e47b2f20 100644
--- a/java/java.go
+++ b/java/java.go
@@ -1786,7 +1786,7 @@ func (j *Module) compile(ctx android.ModuleContext, aaptSrcJar android.Path) {
j.dexJarFile = dexOutputFile
// Dexpreopting
- dexOutputFile = j.dexpreopt(ctx, dexOutputFile)
+ j.dexpreopt(ctx, dexOutputFile)
j.maybeStrippedDexJarFile = dexOutputFile
@@ -3123,7 +3123,7 @@ func (j *DexImport) GenerateAndroidBuildActions(ctx android.ModuleContext) {
j.dexJarFile = dexOutputFile
- dexOutputFile = j.dexpreopt(ctx, dexOutputFile)
+ j.dexpreopt(ctx, dexOutputFile)
j.maybeStrippedDexJarFile = dexOutputFile