"SignApk" in Created-By header

The switch to apksig changed the Created-By header value in .SF file
from "1.0 (Android SignApk)" to "1.0 (Android apksigner)". This commit
reverts the value back to "1.0 (Android SignApk)".

Change-Id: I2fc462cade40a5b31bb6191996fd6f18fabbf08f
This commit is contained in:
Alex Klyubin 2016-09-07 13:21:00 -07:00
parent 0c9a2ee864
commit 969e354b1f

View file

@ -1010,6 +1010,7 @@ class SignApk {
.setV1SigningEnabled(true) .setV1SigningEnabled(true)
.setV2SigningEnabled(signUsingApkSignatureSchemeV2) .setV2SigningEnabled(signUsingApkSignatureSchemeV2)
.setOtherSignersSignaturesPreserved(false) .setOtherSignersSignaturesPreserved(false)
.setCreatedBy("1.0 (Android SignApk)")
.build()) { .build()) {
// We don't preserve the input APK's APK Signing Block (which contains v2 // We don't preserve the input APK's APK Signing Block (which contains v2
// signatures) // signatures)