commit | 55c2bfe0f7ed671b8e1b59b38e1e485a1e937886 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Jan 13 17:01:19 2020 -0800 |
committer | Yifan Hong <elsk@google.com> | Thu Jan 16 05:05:48 2020 +0000 |
tree | 99c3e54dd7477ee5c834707760f5ef95deed21a5 | |
parent | 6561303cc3020e1049e1fd67f999d19097e72ede [diff] |
DeltaPerformer: Don't destroy previously allocated space After allocateSpaceForPayload() is called, applyPayload() with the same hash should not destroy the allocated files then re-allocate. Fix it so that DeltaPerformer::ResetUpdateProgress skip resetting the hash in this case. Bug: 138808058 Test: update_engine_client --allocate, then --apply Change-Id: Ibc2a7449a6953a707d1c4f23ee11d572f498457c