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

Commit 480449df authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Merge "releasetools: Use fixed timestamp in otacerts.zip."

am: 7b049f71

* commit '7b049f71':
  releasetools: Use fixed timestamp in otacerts.zip.

Change-Id: I3708511770fb022618592753d9de6ddc0c4df23b
parents c0f254a5 7b049f71
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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())