diff options
author | Yifan Hong <elsk@google.com> | 2020-02-20 20:06:51 -0800 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2020-03-05 08:41:45 -0800 |
commit | d5675f672870600249ef518a91eeb895cbcba600 (patch) | |
tree | c1ce2b42ebbddf3367f68da3d7c10fe2c28c66cd /trusty/coverage/coverage_test.cpp | |
parent | 7c5ae0a12ef22f9dba005da9db13a8f37945f1a9 (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
Merged-In: I9cb3d20c5c886afa1913740c903eaad08f0cc041
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions