commit | 1729e90887264a30f668bf3bfb5bb5b255d0a7fe | [log] [tgz] |
---|---|---|
author | Stephen Crane <sjc@immunant.com> | Mon Feb 15 11:05:43 2021 -0800 |
committer | Stephen Crane <sjc@immunant.com> | Mon Feb 15 11:05:43 2021 -0800 |
tree | 67271eb3531e615d80ef648d6d7584ba57b96b92 | |
parent | 7125b188d9c280903d27d5850ef4ca3cb74b8881 [diff] |
libbinder_rs: Modify asserts to propagate failure to C++ We can't rely on Rust panics to unwind, so we need to return failed transaction rather than panic on assertion failures. Replaces assert! and assert_eq! to propagate failures as failed transactions rather than Rust panics. Test: atest rustBinderSerializationTest Bug: 179067202 Change-Id: I01b6443b364a9df2a5631f2ddfbc72ce13febe93