diff options
author | Sen Jiang <senj@google.com> | 2019-01-02 15:54:40 -0800 |
---|---|---|
committer | Sen Jiang <senj@google.com> | 2019-01-02 18:12:28 -0800 |
commit | 1bafff885ba760a82b65e25ec1ca544559fdddcb (patch) | |
tree | afa6cbfcd86ca9ca4e810606f3ddf9b7cdc5fea0 /scripts/update_payload/format_utils.py | |
parent | 62b42c896e379c89848f1c6a486e4ec6c51a966d (diff) |
Android: Reset update progress when booted into new version.
In Android we don't reset progress after update completes because if
automatic update is toggled off after that, we will need to revert the
slot switch and still keep the progress.
However if we try to apply the same full update again after booted
into the new version, it will try to resume and fail on verification
because the inactive slot is now the previous version, so we shouldn't
resume in this case.
Bug: 122117961
Test: progress is reset after booted into new version
Change-Id: I394a78fd37bbbdcf62bf85639a9f86e7d3bc42c6
Diffstat (limited to 'scripts/update_payload/format_utils.py')
0 files changed, 0 insertions, 0 deletions