Loading tools/releasetools/ota_from_target_files.py +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
tools/releasetools/ota_from_target_files.py +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading