From 58992a6052555872e0bfceb9e27022c5432ef761 Mon Sep 17 00:00:00 2001 From: Aaron Homer Date: Mon, 26 Aug 2024 15:15:55 +0000 Subject: [PATCH] Revert "Fix problem of RepackApexPayload when using option --signing_args" This reverts commit 5ebc4febe6f1f0b926470bed700183f2da731996. Reason for revert: This is causing the signing args to be improperly passed to apexer, treating them as if they are not specified as all. Change-Id: Ifa0f8444a4a1871802316511b0ff0735f3350b2c Bug: 361784913 --- tools/releasetools/apex_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/releasetools/apex_utils.py b/tools/releasetools/apex_utils.py index 1b0b89a2cc..3abef3bece 100644 --- a/tools/releasetools/apex_utils.py +++ b/tools/releasetools/apex_utils.py @@ -198,7 +198,7 @@ class ApexApkSigner(object): # --signing_args "--signing_helper_with_files=%path" to apexer if signing_args: generate_image_cmd.extend( - ['--signing_args', signing_args]) + ['--signing_args', '"{}"'.format(signing_args)]) # optional arguments for apex repacking manifest_json = os.path.join(apex_dir, 'apex_manifest.json')