commit | b73e59aaf5f6e3154e9a81719d387b0848309b2f | [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 | 29c2b3caf6635ed03e0a450981ab8f588038964e [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