Merge "Update comment up to date" am: cf7300e9c2 am: a93b9ff575

Original change: https://android-review.googlesource.com/c/platform/build/+/1928383

Change-Id: Iedf39242d7346ace096f2419ae38200ddf259d20
This commit is contained in:
Treehugger Robot 2021-12-22 01:18:29 +00:00 committed by Automerger Merge Worker
commit ba37412ac7

View file

@ -608,7 +608,7 @@ def ProcessTargetFiles(input_tf_zip, output_tf_zip, misc_info,
common.ZipWriteStr(output_tf_zip, out_info, new_data)
# Replace the certs in *mac_permissions.xml (there could be multiple, such
# as {system,vendor}/etc/selinux/{plat,nonplat}_mac_permissions.xml).
# as {system,vendor}/etc/selinux/{plat,vendor}_mac_permissions.xml).
elif filename.endswith("mac_permissions.xml"):
print("Rewriting %s with new keys." % (filename,))
new_data = ReplaceCerts(data.decode())