diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2023-10-17 08:38:48 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-10-17 08:38:48 +0000 |
commit | e30e4c694a8cebbe75643e0b459f0e8d30775839 (patch) | |
tree | 5d8795b80c50ec5f73ec46652c1ddeb491a570fd | |
parent | f98c432a6337872b56d9465b102cf271966f3642 (diff) | |
parent | 55dd3cb67fe4584c9617194de64cf9d2bd02a0f9 (diff) | |
download | hikey-e30e4c694a8cebbe75643e0b459f0e8d30775839.tar.gz |
Merge "gralloc960/mali_gralloc_debug.cpp: migrate to String8.c_str()" into main am: d0bdc7d23b am: 55dd3cb67f
Original change: https://android-review.googlesource.com/c/device/linaro/hikey/+/2778491
Change-Id: I70ab2e67af1e81a147bfed4d72c6e56284332981
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | gralloc960/mali_gralloc_debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gralloc960/mali_gralloc_debug.cpp b/gralloc960/mali_gralloc_debug.cpp index 2b2b4a7b..3737fbca 100644 --- a/gralloc960/mali_gralloc_debug.cpp +++ b/gralloc960/mali_gralloc_debug.cpp @@ -137,7 +137,7 @@ void mali_gralloc_dump_internal(uint32_t *outSize, char *outBuffer) { dumpSize = dumpStrings.size(); *outSize = (dumpSize < *outSize) ? dumpSize : *outSize; - memcpy(outBuffer, dumpStrings.string(), *outSize); + memcpy(outBuffer, dumpStrings.c_str(), *outSize); } } } |