Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bad18cd9 authored by Alex Klyubin's avatar Alex Klyubin Committed by android-build-merger
Browse files

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

am: 6b452b27

* commit '6b452b27':
  List SHA-1 digests of APK entries' contents in .SF files.
parents ca0091e2 6b452b27
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
        }