summaryrefslogtreecommitdiff
path: root/java/hiddenapi_modular.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-01-18 20:38:13 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-01-18 20:38:13 +0000
commit193bb8c317f934f54d5d0231d298cfaaf640b4e6 (patch)
tree20606eb2eb961f0042a2d1d97330c3fc599caace /java/hiddenapi_modular.go
parentf29b80c51fbbdf0ec590b284f658ad356a9e7230 (diff)
parent3a3920129dc42a143da1c28c440a25a74be78589 (diff)
Merge "Add better error handling to bootDexJar function" into main
Diffstat (limited to 'java/hiddenapi_modular.go')
-rw-r--r--java/hiddenapi_modular.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/hiddenapi_modular.go b/java/hiddenapi_modular.go
index 06e17c902..3c7cf3ab6 100644
--- a/java/hiddenapi_modular.go
+++ b/java/hiddenapi_modular.go
@@ -1357,7 +1357,7 @@ func extractBootDexInfoFromModules(ctx android.ModuleContext, contents []android
// invalid, then create a fake path and either report an error immediately or defer reporting of the
// error until the path is actually used.
func retrieveBootDexJarFromHiddenAPIModule(ctx android.ModuleContext, module hiddenAPIModule) android.Path {
- bootDexJar := module.bootDexJar()
+ bootDexJar := module.bootDexJar(ctx)
if !bootDexJar.Valid() {
fake := android.PathForModuleOut(ctx, fmt.Sprintf("fake/boot-dex/%s.jar", module.Name()))
handleMissingDexBootFile(ctx, module, fake, bootDexJar.InvalidReason())