releasetools: Fix an issue when using APEX container key mapping.
The keys_info in the touched code is a tuple, which is immutable. Bug: 123716522 Test: Run sign_target_files_apks.py with '-e foo.apex=bar' that replaces the APEX container key. Change-Id: I4e57e46c93a56b7f6646764d021ebb42c19bf7f5
This commit is contained in:
parent
0573298a18
commit
fa9de0aae8
|
@ -193,7 +193,7 @@ def GetApexKeys(keys_info, key_map):
|
|||
if apex not in keys_info:
|
||||
continue
|
||||
assert key, 'Presigned APEX container for {} is not allowed'.format(apex)
|
||||
keys_info[apex][1] = key_map.get(key, key)
|
||||
keys_info[apex] = (keys_info[apex][0], key_map.get(key, key))
|
||||
|
||||
return keys_info
|
||||
|
||||
|
|
Loading…
Reference in New Issue