commit | 76072e8974ae42ecb0d2a9140c99fb38d2bcfcf1 | [log] [tgz] |
---|---|---|
author | Stephen Crane <sjc@immunant.com> | Mon Aug 03 13:09:36 2020 -0700 |
committer | Stephen Crane <sjc@immunant.com> | Fri Aug 14 12:07:42 2020 -0700 |
tree | 4f13fa033162e29df0acbc6aef073e48209ef0fd | |
parent | 664f2a62f26e92897a0f4c9cfff1f82cd666b60a [diff] |
Fix Rust string parceling The NDK `writeString` API accepts a UTF-8 string with embedded NULLs, not just C-style null-terminated strings. This change allows parceling of Rust strings directly, without requiring conversion to `CString` first. Test: atest libbinder_rs-internal_test Change-Id: I0c5f9a116a17cc3f48622ed3e8f32b8cbe8af891