diff options
author | Yifan Hong <elsk@google.com> | 2020-02-20 20:06:51 -0800 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2020-03-03 13:19:49 -0800 |
commit | 32253d92eb8c133bbc8c94bb61ddce2fb83402a7 (patch) | |
tree | 28ce65c39b0e4fca9c1757c570fb69baebba93e0 /trusty/coverage/coverage.cpp | |
parent | 44b93df30053871ff6f95445c936d624a9cd6122 (diff) |
libsnapshot: handle errors in RemoveAllUpdateState appropriately.
In CheckMergeState / HandleCancelledUpdate, if removing update state
fails, just return the previous state. It used to return Cancelled,
and the error goes unnoticed.
Test: pass
Bug: 147696014
Change-Id: I9cb3d20c5c886afa1913740c903eaad08f0cc041
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions