summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Aaron Homer <ahomer@google.com> 2024-08-26 15:15:55 +0000
committer Aaron Homer <ahomer@google.com> 2024-08-26 15:21:26 +0000
commit58992a6052555872e0bfceb9e27022c5432ef761 (patch)
tree77aa0314e8f5b3adca4b87637a621ba47f0fbfa2
parent5ebc4febe6f1f0b926470bed700183f2da731996 (diff)
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
-rw-r--r--tools/releasetools/apex_utils.py2
1 files changed, 1 insertions, 1 deletions
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')