commit | 08519a1bf368ea35e75d9ff3d36822b4ff390308 | [log] [tgz] |
---|---|---|
author | Sen Jiang <senj@google.com> | Thu Jan 10 14:14:41 2019 -0800 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Jan 11 00:19:20 2019 +0000 |
tree | c05ecc707c528183735102ab50925ee57f00df28 | |
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)