summaryrefslogtreecommitdiff
path: root/libs/binder/TextOutput.cpp
diff options
context:
space:
mode:
author Stephen Crane <sjc@immunant.com> 2021-02-15 11:05:43 -0800
committer Stephen Crane <sjc@immunant.com> 2021-02-15 11:05:43 -0800
commit1729e90887264a30f668bf3bfb5bb5b255d0a7fe (patch)
tree67271eb3531e615d80ef648d6d7584ba57b96b92 /libs/binder/TextOutput.cpp
parent7125b188d9c280903d27d5850ef4ca3cb74b8881 (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
Diffstat (limited to 'libs/binder/TextOutput.cpp')
0 files changed, 0 insertions, 0 deletions