diff options
author | Tomasz Wasilczyk <twasilczyk@google.com> | 2023-08-17 01:12:31 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-08-17 01:12:31 +0000 |
commit | ca94928e5e2a7cd12532487d0e92513ce6bda659 (patch) | |
tree | dd3aa8e94e86149bdfaf0730101635b7c0d4fa2b | |
parent | 5acdcc8a48fa60e1dda80ed7b044a229bbf7e0c1 (diff) | |
parent | 441ceef0d3d131c0c362214e3c9eb41752118482 (diff) | |
download | contexthub-ca94928e5e2a7cd12532487d0e92513ce6bda659.tar.gz |
Use String8/16 c_str am: 441ceef0d3
Original change: https://android-review.googlesource.com/c/device/google/contexthub/+/2705756
Change-Id: Ic0d225fb59269e0c8af5d66d77c81aebcfe3d3cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | contexthubhal/NanohubHidlAdapter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contexthubhal/NanohubHidlAdapter.cpp b/contexthubhal/NanohubHidlAdapter.cpp index 9efca2ad..671d7812 100644 --- a/contexthubhal/NanohubHidlAdapter.cpp +++ b/contexthubhal/NanohubHidlAdapter.cpp @@ -579,7 +579,7 @@ Return<void> Contexthub::debug(const hidl_handle& hh_fd, } else { result.appendFormat("unknown debug options"); } - write(fd, result.string(), result.size()); + write(fd, result.c_str(), result.size()); return Void(); } |