summaryrefslogtreecommitdiff
path: root/tools/warn/java_warn_patterns.py
diff options
context:
space:
mode:
author Tao Bao <tbao@google.com> 2019-03-22 23:16:58 -0700
committer Tao Bao <tbao@google.com> 2019-03-23 10:27:43 -0700
commitffc9a3094605b186dbd0f065b9743eb4eda29824 (patch)
tree74576cfea8da490c926ebb23070bc2c9f2b3e60a /tools/warn/java_warn_patterns.py
parent1e4cbfaf5c23c8a3be92b747725d18bc31d2d1d6 (diff)
releasetools: Fix alignment issue when signing APEXes.
Previously it was following a wrong order by doing `zipalign` after calling SignApk, which effectively compromised the signature. This CL corrects the logic, and follows the same flow as in build system: - Pack APEX file; - `zipalign -f 4096`; - Call SignApk to sign the container with `-a 4096` flag. Bug: 129148142 Test: Run sign_target_files_apks.py on taimen target_files.zip. Boot the image after signing. Change-Id: I91bd3dce4f45c1891c5e122212a699f4808618fa (cherry picked from commit 0e06cb0a8b86374a259fd27811e50c0bbb28fbf8)
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions