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

Commit c3fdfed1 authored by Nikita Ioffe's avatar Nikita Ioffe
Browse files

Fix test_sign_apex

Test: python -m unittest test_sign_apex
Change-Id: I2a27a394b3de32fa29e487bea0b7721502a8bd98
parent 4e98e687
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -370,11 +370,12 @@ def SignApex(avbtool, apex_data, payload_key, container_key, container_pw,
  extra_signapk_args = OPTIONS.extra_signapk_args[:]
  extra_signapk_args.extend(['-a', '4096'])

  password = container_pw.get(container_key) if container_pw else None
  common.SignFile(
      aligned_apex,
      signed_apex,
      container_key,
      container_pw.get(container_key),
      password,
      codename_to_api_level_map=codename_to_api_level_map,
      extra_signapk_args=extra_signapk_args)