Turn apex compression from opt-out into opt-in am: 82aab58aea am: 4e36d71632 am: 0968f5a861

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1a2de635c40e856e25de07f6e699bc1f4ee34aaa
This commit is contained in:
Nikita Ioffe 2021-01-29 22:23:44 +00:00 committed by Automerger Merge Worker
commit 69634d3a5a
1 changed files with 1 additions and 1 deletions

View File

@ -780,7 +780,7 @@ func (a *apexBundle) buildUnflattenedApex(ctx android.ModuleContext) {
ctx.PropertyErrorf("test_only_force_compression", "not available")
return
}
compressionEnabled := ctx.Config().CompressedApex() && proptools.BoolDefault(a.properties.Compressible, true)
compressionEnabled := ctx.Config().CompressedApex() && proptools.BoolDefault(a.properties.Compressible, false)
if apexType == imageApex && (compressionEnabled || a.testOnlyShouldForceCompression()) {
a.isCompressed = true
unsignedCompressedOutputFile := android.PathForModuleOut(ctx, a.Name()+".capex.unsigned")