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

Unverified Commit 7073f5a1 authored by HZ's avatar HZ Committed by LuK1337
Browse files

Add bluetooth to default key map

Previously the key mapping in releasetool/sign_target_files_apks.py
is missing the aforementioned key that was 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 5b54cae3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1221,6 +1221,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