commit | 7978d50edb9c4da0b8f4076412f092418da6e372 | [log] [tgz] |
---|---|---|
author | Ficus Kirkpatrick <ficus@android.com> | Thu Sep 23 22:57:05 2010 -0700 |
committer | Ficus Kirkpatrick <ficus@android.com> | Fri Sep 24 10:24:53 2010 -0700 |
tree | 2a9b0ba8249c4b9ea13816fdd3757b7369cb1cdf | |
parent | 817a8ac99392228f894d18ea40b0fb4c1b6ca8fe [diff] |
Add a workaround for a platform JAR parsing bug. The java.util.jar implementation through Android 1.6 has a bug where if the signature file in META-INF is a multiple of 1024 bytes, it will throw an IOException attempting to read it. If signapk would produce a CERT.SF in a multiple of 1024 bytes, add an extra CRLF to the end of the file. Bug: 3019677 Change-Id: I23d4a36e12e224be600d3ac39379b5b5a022a628