summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils_unittest.py
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-07-19 17:01:41 -0700
committerAlex Deymo <deymo@google.com>2016-07-19 17:59:03 -0700
commit5990bf33b50beec0caf55a97f5ca87608ccbc694 (patch)
tree0b5a7f0a2d3ae6df2009c23dedac3347ca9fc448 /scripts/update_payload/format_utils_unittest.py
parent53f04d74f32397d8bffea9f020aaac2cafaab049 (diff)
Reset the update progress when partition verification fails.
When the update completes and there is an error verifying the new partitions we need to reset the update progress proactivelly to prevent the update failing repeatedly until we hit the 10 retries limit. This patch will reset the update progress when the payload application fails to verify the contents of the newly written partition. Bug: 30162558 TEST=Push an update, cancel it at 90%, erase some blocks in system, continue the update (restarts at 90% and then fails), launch the update again (restarts from 0%). Change-Id: I35915d04efe5c90d1a7add2e4c2807e2fe19857b
Diffstat (limited to 'scripts/update_payload/format_utils_unittest.py')
0 files changed, 0 insertions, 0 deletions