Skip to content
This repository has been archived by the owner on Nov 17, 2024. It is now read-only.

Commit

Permalink
Add bluetooth and sdk_sandbox to default key map
Browse files Browse the repository at this point in the history
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
  • Loading branch information
thecodehustler authored and jhenrique09 committed Jun 21, 2023
1 parent b02cbef commit 2cb49d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/releasetools/sign_target_files_apks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1152,6 +1152,8 @@ def BuildKeyMap(misc_info, key_mapping_options):
devkeydir + "/shared": d + "/shared",
devkeydir + "/platform": d + "/platform",
devkeydir + "/networkstack": d + "/networkstack",
devkeydir + "/sdk_sandbox" : d + "/sdk_sandbox",
devkeydir + "/bluetooth" : d + "/bluetooth",
})
else:
OPTIONS.key_map[s] = d
Expand Down

0 comments on commit 2cb49d7

Please sign in to comment.