commit | 32253d92eb8c133bbc8c94bb61ddce2fb83402a7 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Feb 20 20:06:51 2020 -0800 |
committer | Yifan Hong <elsk@google.com> | Tue Mar 03 13:19:49 2020 -0800 |
tree | 28ce65c39b0e4fca9c1757c570fb69baebba93e0 | |
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