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

Commit 84cef887 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Allow data wipe for full OTAs" am: 2992dccd

Original change: https://android-review.googlesource.com/c/platform/build/+/1869634

Change-Id: I342cd37ec14ff6691f9dd45acb899cca7878db66
parents 422a06f4 2992dccd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1401,7 +1401,7 @@ def main(argv):
    # We should only allow downgrading incrementals (as opposed to full).
    # Otherwise the device may go back from arbitrary build with this full
    # OTA package.
    if OPTIONS.incremental_source is None:
  if OPTIONS.incremental_source is None and OPTIONS.downgrade:
    raise ValueError("Cannot generate downgradable full OTAs")

  # TODO(xunchang) for retrofit and partial updates, maybe we should rebuild the