summaryrefslogtreecommitdiffstats
path: root/releasetools
diff options
context:
space:
mode:
Diffstat (limited to 'releasetools')
-rwxr-xr-xreleasetools/galaxys2_ota_from_target_files9
1 files changed, 6 insertions, 3 deletions
diff --git a/releasetools/galaxys2_ota_from_target_files b/releasetools/galaxys2_ota_from_target_files
index 61cb7cc..d3854bd 100755
--- a/releasetools/galaxys2_ota_from_target_files
+++ b/releasetools/galaxys2_ota_from_target_files
@@ -44,9 +44,12 @@ def WriteFullOTAPackage(input_zip, output_zip):
# change very often.
script = edify_generator.EdifyGenerator(3, OPTIONS.info_dict)
- metadata = {"post-build": GetBuildProp("ro.build.fingerprint", input_zip),
- "pre-device": GetBuildProp("ro.product.device", input_zip),
- "post-timestamp": GetBuildProp("ro.build.date.utc", input_zip),
+ metadata = {"post-build": GetBuildProp("ro.build.fingerprint",
+ OPTIONS.info_dict),
+ "pre-device": GetBuildProp("ro.product.device",
+ OPTIONS.info_dict),
+ "post-timestamp": GetBuildProp("ro.build.date.utc",
+ OPTIONS.info_dict),
}
device_specific = common.DeviceSpecificParams(