Add bluetooth to default key map
Previously the key mapping in releasetool/sign_target_files_apks.py is missing the aforementioned keys that introduced in Android 13, so it's writing corrupted signatures in plat_mac_permissions.xml. Test: make target-files-package otatools sign_target_files_apks -o -d <CERT_ROOT> ... Change-Id: If42907cffbd500281876f8f822cbb645583d06ed Signed-off-by: RITEFANG <1721985272@qq.com>
This commit is contained in:
@@ -1332,6 +1332,7 @@ def BuildKeyMap(misc_info, key_mapping_options):
|
||||
devkeydir + "/platform": d + "/platform",
|
||||
devkeydir + "/networkstack": d + "/networkstack",
|
||||
devkeydir + "/sdk_sandbox": d + "/sdk_sandbox",
|
||||
devkeydir + "/bluetooth" : d + "/bluetooth",
|
||||
})
|
||||
else:
|
||||
OPTIONS.key_map[s] = d
|
||||
|
Reference in New Issue
Block a user