commit | bec4a9c33f601c2d2baea7ce90d919390328b25a | [log] [tgz] |
---|---|---|
author | Tomasz Wasilczyk <[email protected]> | Thu Aug 17 03:50:51 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu Aug 17 03:50:51 2023 +0000 |
tree | dd3aa8e94e86149bdfaf0730101635b7c0d4fa2b | |
parent | 5acdcc8a48fa60e1dda80ed7b044a229bbf7e0c1 [diff] | |
parent | 77cc3e43f25ce89a023a301c43969bacb651a7e4 [diff] |
Use String8/16 c_str am: 441ceef0d3 am: ca94928e5e am: 14d34dd8ce am: 77cc3e43f2 Original change: https://android-review.googlesource.com/c/device/google/contexthub/+/2705756 Change-Id: I3a632267b319cbe584249968fd43f1bd8b9bac3d Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/contexthubhal/NanohubHidlAdapter.cpp b/contexthubhal/NanohubHidlAdapter.cpp index 9efca2a..671d781 100644 --- a/contexthubhal/NanohubHidlAdapter.cpp +++ b/contexthubhal/NanohubHidlAdapter.cpp
@@ -579,7 +579,7 @@ } else { result.appendFormat("unknown debug options"); } - write(fd, result.string(), result.size()); + write(fd, result.c_str(), result.size()); return Void(); }