commit | 7596933a1e08ff4c05488229ec84f46f4926e27b | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Dec 12 16:00:25 2016 -0800 |
committer | Steven Moreland <smoreland@google.com> | Tue Dec 13 13:40:43 2016 -0800 |
tree | 2e0654fbd74b25365df07f1c9605b5690ee652cb | |
parent | cbc10206b0a783ba82a3e01baf2ef4a100d0bf03 [diff] |
Return<T>: fail hard on unchecked error. If a transaction error occurs during a hidl call, and it isn't handled, we want to fail hard, fast, and early. This adds a check in the Return destructors which does this. As part of this, I also combined the common parts of Return<*> and its specialization Return<void> into a parent type, details::return_status. Bug: 31348667 Test: hidl_test Change-Id: Iba6d43ffb2e1dc68ba2c291f6f0c5ef1257e1da9