summaryrefslogtreecommitdiff
path: root/java/hiddenapi.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-08-07 20:48:50 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-08-07 20:48:50 +0000
commitd40aac13401a7826c31f50598bd1703ef3c75e67 (patch)
treedd48a01f7b11fd1f826f861b422a5ac82f10e581 /java/hiddenapi.go
parentd6358b6a9b0b89ababf2bc24b3db3f6a77440ccd (diff)
parent7707b246efe17400aa27e843a507232bd02efd66 (diff)
Merge "Don't hold on to WritablePath" into main
Diffstat (limited to 'java/hiddenapi.go')
-rw-r--r--java/hiddenapi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/hiddenapi.go b/java/hiddenapi.go
index 5441a3b6e..689c78f6d 100644
--- a/java/hiddenapi.go
+++ b/java/hiddenapi.go
@@ -151,7 +151,7 @@ func isModuleInBootClassPath(ctx android.BaseModuleContext, module android.Modul
//
// Otherwise, it creates a copy of the supplied dex file into which it has encoded the hiddenapi
// flags and returns this instead of the supplied dex jar.
-func (h *hiddenAPI) hiddenAPIEncodeDex(ctx android.ModuleContext, dexJar android.OutputPath) android.OutputPath {
+func (h *hiddenAPI) hiddenAPIEncodeDex(ctx android.ModuleContext, dexJar android.Path) android.Path {
if !h.active {
return dexJar