commit | c53d34b4bae01d849735edf32a7fc1022aef162c | [log] [tgz] |
---|---|---|
author | JW Wang <wangchun@google.com> | Mon Jan 03 11:03:19 2022 +0800 |
committer | JW Wang <wangchun@google.com> | Mon Jan 17 14:45:59 2022 +0800 |
tree | fd5269c6d3b2482dbc67f0e7c68005d9a73118a8 | |
parent | 35eef324464aee9d46301815ddad3d65578bf1a8 [diff] |
Fix handleStreamValidateAndCommit() (5/n) 1. Don't retain finished sessions if isCommitted() is false. We don't keep finished sessions if they fail validation to preserve the original behavior. 2. Simplify error handling of handleStreamValidateAndCommit() Bug: 210359798 Test: atest CtsStagedInstallHostTestCases Change-Id: I713b6b1e88c8978d58c912c8c9fc8b49e4673c82