Merge "Use Jan 1 2009 as timestamp in OTA update ZIPs." into nyc-dev

This commit is contained in:
Alex Klyubin 2016-02-10 18:15:26 +00:00 committed by Android (Google) Code Review
commit fb5ac541a4
1 changed files with 0 additions and 3 deletions

View File

@ -722,9 +722,6 @@ class SignApk {
int hash = getDigestAlgorithm(publicKey, minSdkVersion);
// Assume the certificate is valid for at least an hour.
long timestamp = publicKey.getNotBefore().getTime() + 3600L * 1000;
Manifest manifest = addDigestsToManifest(inputJar, hash);
copyFiles(manifest, inputJar, outputJar, timestamp, 0);
addOtacert(outputJar, publicKeyFile, timestamp, manifest, hash);