Merge "Always build zipapex's unflattened."

This commit is contained in:
Treehugger Robot 2019-02-13 06:19:54 +00:00 committed by Gerrit Code Review
commit ad0328deb8
1 changed files with 1 additions and 1 deletions

View File

@ -966,7 +966,7 @@ func (a *apexBundle) buildUnflattenedApex(ctx android.ModuleContext, keyFile and
})
// Install to $OUT/soong/{target,host}/.../apex
if a.installable() && !ctx.Config().FlattenApex() {
if a.installable() && (!ctx.Config().FlattenApex() || apexType.zip()) {
ctx.InstallFile(android.PathForModuleInstall(ctx, "apex"), ctx.ModuleName()+suffix, a.outputFiles[apexType])
}
}