Merge "Move logic to disable flattening in unbundled app mode from Soong to make." am: 0770a175a1

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1714380

Change-Id: I16f5a39497073de65f373871bb2c897dca00297f
This commit is contained in:
Martin Stjernholm
2021-05-26 18:35:06 +00:00
committed by Automerger Merge Worker

View File

@@ -2020,7 +2020,7 @@ func (a *apexBundle) GenerateAndroidBuildActions(ctx android.ModuleContext) {
a.filesInfo = filesInfo
// Set suffix and primaryApexType depending on the ApexType
buildFlattenedAsDefault := ctx.Config().FlattenApex() && !ctx.Config().UnbundledBuildApps()
buildFlattenedAsDefault := ctx.Config().FlattenApex()
switch a.properties.ApexType {
case imageApex:
if buildFlattenedAsDefault {