ota: Disable downgrade check
We want users to be able to downgrade their packages. Change-Id: I6bcbd4ee2a02640fe0855b0f1f197a02e914c927 Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
841d528e8d
commit
52aa3c361c
|
@ -150,9 +150,9 @@ def WriteFullOTAPackage(input_zip, output_file):
|
||||||
assert HasRecoveryPatch(input_zip, info_dict=OPTIONS.info_dict)
|
assert HasRecoveryPatch(input_zip, info_dict=OPTIONS.info_dict)
|
||||||
|
|
||||||
# Assertions (e.g. downgrade check, device properties check).
|
# Assertions (e.g. downgrade check, device properties check).
|
||||||
ts = target_info.GetBuildProp("ro.build.date.utc")
|
#ts = target_info.GetBuildProp("ro.build.date.utc")
|
||||||
ts_text = target_info.GetBuildProp("ro.build.date")
|
#ts_text = target_info.GetBuildProp("ro.build.date")
|
||||||
script.AssertOlderBuild(ts, ts_text)
|
#script.AssertOlderBuild(ts, ts_text)
|
||||||
|
|
||||||
target_info.WriteDeviceAssertions(script, OPTIONS.oem_no_mount)
|
target_info.WriteDeviceAssertions(script, OPTIONS.oem_no_mount)
|
||||||
device_specific.FullOTA_Assertions()
|
device_specific.FullOTA_Assertions()
|
||||||
|
|
Loading…
Reference in New Issue