releasetools: Use fixed timestamp in otacerts.zip. am: 7ee3a96

am: 41e5c4e

* commit '41e5c4e0659f23c978e9b47d6b4d1564b076ff8b':
  releasetools: Use fixed timestamp in otacerts.zip.

Change-Id: I881de4ebee7ffae32b008144c4e0a61a0e3802b7
This commit is contained in:
Tao Bao 2016-04-12 15:49:49 +00:00 committed by android-build-merger
commit 35a785eef4
1 changed files with 2 additions and 2 deletions

View File

@ -421,8 +421,8 @@ def ReplaceOtaKeys(input_tf_zip, output_tf_zip, misc_info):
temp_file = cStringIO.StringIO()
certs_zip = zipfile.ZipFile(temp_file, "w")
for k in mapped_keys:
certs_zip.write(k)
certs_zip.close()
common.ZipWrite(certs_zip, k)
common.ZipClose(certs_zip)
common.ZipWriteStr(output_tf_zip, "SYSTEM/etc/security/otacerts.zip",
temp_file.getvalue())