Revert^2 "Only allow setting presigned without preprocessed on targetSdk < 30"

This reverts commit d293e28f52.

Reason for revert: The underlying issue was fixed in ag/24685010

Change-Id: I06810d37dba37aa12f9a1e14b0749f1e1eb41136
This commit is contained in:
Cole Faust
2023-09-07 05:31:32 +00:00
committed by Gerrit Code Review
parent d293e28f52
commit 51d7bfd9a1
7 changed files with 81 additions and 30 deletions

View File

@@ -438,7 +438,7 @@ func (d *dexer) compileDex(ctx android.ModuleContext, dexParams *compileDexParam
}
if proptools.Bool(d.dexProperties.Uncompress_dex) {
alignedJavalibJar := android.PathForModuleOut(ctx, "aligned", dexParams.jarName).OutputPath
TransformZipAlign(ctx, alignedJavalibJar, javalibJar)
TransformZipAlign(ctx, alignedJavalibJar, javalibJar, nil)
javalibJar = alignedJavalibJar
}