Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1788f80 authored by Andrew Dodd's avatar Andrew Dodd Committed by Michael Bestas
Browse files

ota: Disable downgrade check

We want users to be able to downgrade their packages.

Change-Id: I6bcbd4ee2a02640fe0855b0f1f197a02e914c927
parent fdcdc0a1
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -756,9 +756,9 @@ def WriteFullOTAPackage(input_zip, output_file):
  assert HasRecoveryPatch(input_zip, info_dict=OPTIONS.info_dict)

  # Assertions (e.g. downgrade check, device properties check).
  ts = target_info.GetBuildProp("ro.build.date.utc")
  ts_text = target_info.GetBuildProp("ro.build.date")
  script.AssertOlderBuild(ts, ts_text)
  #ts = target_info.GetBuildProp("ro.build.date.utc")
  #ts_text = target_info.GetBuildProp("ro.build.date")
  #script.AssertOlderBuild(ts, ts_text)

  target_info.WriteDeviceAssertions(script, OPTIONS.oem_no_mount)
  device_specific.FullOTA_Assertions()