summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-10-17 08:05:18 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-10-17 08:05:18 +0000
commitf27a13a0c92bc1d30a41118a1a372dfa6d1297f4 (patch)
tree5d8795b80c50ec5f73ec46652c1ddeb491a570fd
parent464fecb0870a1bf22704cedcc6f819f9ab521abc (diff)
parentd0bdc7d23bc33bf860a57fef69eb417a049ba22f (diff)
downloadhikey-f27a13a0c92bc1d30a41118a1a372dfa6d1297f4.tar.gz
Merge "gralloc960/mali_gralloc_debug.cpp: migrate to String8.c_str()" into main am: d0bdc7d23b
Original change: https://android-review.googlesource.com/c/device/linaro/hikey/+/2778491 Change-Id: I013b8877a215484a6017a52c0e3ec034355be2dd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--gralloc960/mali_gralloc_debug.cpp2
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);
}
}
}