commit | d5675f672870600249ef518a91eeb895cbcba600 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Feb 20 20:06:51 2020 -0800 |
committer | Yifan Hong <elsk@google.com> | Thu Mar 05 08:41:45 2020 -0800 |
tree | c1ce2b42ebbddf3367f68da3d7c10fe2c28c66cd | |
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