Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit ddc8c29f authored by HZ's avatar HZ Committed by Michael Bestas
Browse files

Add bluetooth and sdk_sandbox 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
parent eabbe7e9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1087,6 +1087,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