am 3b85269c: include build timestamp in OTA metadata

Merge commit '3b85269cfe10ec15e9b544dd6964b8c9f5f761f9' into gingerbread

* commit '3b85269cfe10ec15e9b544dd6964b8c9f5f761f9':
  include build timestamp in OTA metadata
This commit is contained in:
Doug Zongker 2010-06-21 15:40:21 -07:00 committed by Android Git Automerger
commit 06acf91f65
1 changed files with 2 additions and 0 deletions

View File

@ -355,6 +355,7 @@ def WriteFullOTAPackage(input_zip, output_zip):
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),
}
device_specific = common.DeviceSpecificParams(
@ -602,6 +603,7 @@ def WriteIncrementalOTAPackage(target_zip, source_zip, output_zip):
raise ValueError('unknown script mode "%s"' % (OPTIONS.script_mode,))
metadata = {"pre-device": GetBuildProp("ro.product.device", source_zip),
"post-timestamp": GetBuildProp("ro.build.date.utc", target_zip),
}
device_specific = common.DeviceSpecificParams(