diff options
author | Sen Jiang <senj@google.com> | 2019-01-10 14:14:41 -0800 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-01-11 00:19:20 +0000 |
commit | 08519a1bf368ea35e75d9ff3d36822b4ff390308 (patch) | |
tree | c05ecc707c528183735102ab50925ee57f00df28 /scripts/update_payload/format_utils.py | |
parent | 20785b3af142f13f48eb1f76b4c7da8f392dbfec (diff) |
Force the last checkpoint to be saved.
We throttle the checkpoint if it's less than 1 second, but this could
lead to the last checkpoint not being saved, reset the checkpoint time
to make sure the last checkpoint will be saved.
Also improved logging when payload size mismatch happens.
Fixes: 122628007
Test: cancel update during postinstall, resume the update
Change-Id: Ia38e036ea81c9a09a16a3e589983e675ab2982cc
(cherry picked from commit 8d9a26caab31207a6ae78232820d704ad1fc8e23)
Diffstat (limited to 'scripts/update_payload/format_utils.py')
0 files changed, 0 insertions, 0 deletions