summaryrefslogtreecommitdiff
path: root/java/dexpreopt.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-02-03 10:02:36 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-02-03 10:02:36 +0000
commite1f9b35d9250b7c0f5290e7da70ee71945d2b15e (patch)
tree25f66ab0d7a6b5daa43bebc6cacb998f67668a1c /java/dexpreopt.go
parent7e2fad3f8998f0c3ef9bf1f4a17e18a561fce5ba (diff)
parent612e61006324d830cfeb65025a63ae31cb913422 (diff)
Merge "Switch hiddenapi to use OutputPath instead of ModuleOutPath"
Diffstat (limited to 'java/dexpreopt.go')
-rw-r--r--java/dexpreopt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/dexpreopt.go b/java/dexpreopt.go
index ac00592a7..da621003a 100644
--- a/java/dexpreopt.go
+++ b/java/dexpreopt.go
@@ -118,7 +118,7 @@ func odexOnSystemOther(ctx android.ModuleContext, installPath android.InstallPat
return dexpreopt.OdexOnSystemOtherByName(ctx.ModuleName(), android.InstallPathToOnDevicePath(ctx, installPath), dexpreopt.GetGlobalConfig(ctx))
}
-func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.ModuleOutPath) {
+func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.WritablePath) {
// TODO(b/148690468): The check on d.installPath is to bail out in cases where
// the dexpreopter struct hasn't been fully initialized before we're called,
// e.g. in aar.go. This keeps the behaviour that dexpreopting is effectively