commit | 5afb34b2487cf0fc0ebe20cd127a575f0624e7d5 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Wed Aug 03 09:51:02 2022 +0000 |
committer | Andrew Walbran <qwandor@google.com> | Thu Aug 04 14:15:06 2022 +0000 |
tree | e60db39159ad4e96615854614addc4b5ca7b69c0 | |
parent | 7c1c124bb6a8101bb871051915f3bb4cd4df4d1b [diff] |
Add methods to construct errors from Rust strings. This is more convenient in most cases than a CStr, and will let callers stop duplicating the code to convert it. Bug: 234019127 Test: atest compos_key_tests MicrodroidHostTestCases MicrodroidTestApp libbinder_rs-internal_test Change-Id: Idc6684f22f33d4ff79d2326499d089dc85e213ea