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

Commit 53329d80 authored by Andrew Dodd's avatar Andrew Dodd Committed by Sam Mortimer
Browse files

ota: Disable downgrade check

We want users to be able to downgrade their packages.

Change-Id: I6bcbd4ee2a02640fe0855b0f1f197a02e914c927
parent 8e19099f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -405,9 +405,9 @@ def WriteFullOTAPackage(input_zip, output_zip):

  metadata["ota-type"] = "BLOCK"

  ts = GetBuildProp("ro.build.date.utc", OPTIONS.info_dict)
  ts_text = GetBuildProp("ro.build.date", OPTIONS.info_dict)
  script.AssertOlderBuild(ts, ts_text)
  #ts = GetBuildProp("ro.build.date.utc", OPTIONS.info_dict)
  #ts_text = GetBuildProp("ro.build.date", OPTIONS.info_dict)
  #script.AssertOlderBuild(ts, ts_text)

  AppendAssertions(script, OPTIONS.info_dict, oem_dicts)
  device_specific.FullOTA_Assertions()