Remove unnecessary calling of PayloadGenerator

PayloadGenerator object is created twice, introduced in:
1f93ce20c5

Remove this extra call.

Test: atest --host releasetools_test
Change-Id: I7701542f7f53c9295a44fc23f634d863ab4cfc52
This commit is contained in:
Virajitha Daibala
2023-12-20 12:44:38 +09:00
committed by Håkan Kvist
parent 88b268f4b2
commit 779c960d9e

View File

@@ -243,8 +243,6 @@ def main(argv):
# Get signing keys
key_passwords = common.GetKeyPasswords([args.package_key])
generator = PayloadGenerator()
apex_info_bytes = ApexInfo(file_paths)
with tempfile.NamedTemporaryFile() as unsigned_payload: