Merge "List SHA-1 digests of APK entries\' contents in .SF files." am: 6b452b2767

am: bad18cd9cf

* commit 'bad18cd9cff1c89f26da2ab771730eb682c9a73f':
  List SHA-1 digests of APK entries' contents in .SF files.
This commit is contained in:
Alex Klyubin 2016-01-13 18:50:06 +00:00 committed by android-build-merger
commit 614470e77d
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ class SignApk {
print.flush();
Attributes sfAttr = new Attributes();
sfAttr.putValue(hash == USE_SHA256 ? "SHA-256-Digest" : "SHA1-Digest-Manifest",
sfAttr.putValue(hash == USE_SHA256 ? "SHA-256-Digest" : "SHA1-Digest",
new String(Base64.encode(md.digest()), "ASCII"));
sf.getEntries().put(entry.getKey(), sfAttr);
}