Merge "Add better error handling to bootDexJar function" into main

This commit is contained in:
Treehugger Robot
2024-01-18 20:38:13 +00:00
committed by Gerrit Code Review
5 changed files with 93 additions and 4 deletions

View File

@@ -2264,6 +2264,7 @@ func (j *Import) GenerateAndroidBuildActions(ctx android.ModuleContext) {
// An error was found, possibly due to multiple apexes in the tree that export this library
// Defer the error till a client tries to call DexJarBuildPath
j.dexJarFileErr = err
j.initHiddenAPIError(err)
return
}
dexJarFileApexRootRelative := ApexRootRelativePathToJavaLib(j.BaseModuleName())