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:
HZ
2022-10-06 21:45:42 +08:00
committed by SkyMinus
parent 948f5c278a
commit 60f7c4c7d4

View File

@@ -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