Use Jan 1 2009 as timestamp in OTA update ZIPs.
This is a follow-up to6c41036bcf
where I forgot to update a section of OTA update ZIP code. Bug: 26864066 (cherry picked from commitf735851fa9
) Change-Id: I4f85ce170ac72d13a9c8636414927a295e350458
This commit is contained in:
parent
299b39f6d4
commit
b9f720a18b
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue