summaryrefslogtreecommitdiff
path: root/libs/binder/IPCThreadState.cpp
diff options
context:
space:
mode:
author Stephen Crane <sjc@immunant.com> 2020-08-03 13:09:36 -0700
committer Stephen Crane <sjc@immunant.com> 2020-08-14 12:07:42 -0700
commit76072e8974ae42ecb0d2a9140c99fb38d2bcfcf1 (patch)
tree4f13fa033162e29df0acbc6aef073e48209ef0fd /libs/binder/IPCThreadState.cpp
parent664f2a62f26e92897a0f4c9cfff1f82cd666b60a (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
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
0 files changed, 0 insertions, 0 deletions