summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-09-21 21:51:36 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-09-21 21:51:36 +0000
commitf1f9dd0e18a12576c0ac7c168a0439023e8f98bb (patch)
treebd01a34f258f9ad44569249f4811363c0c7cba03
parentf82ec3b9b03dc9404f0adfe7e5f0b9667302e16b (diff)
parenta0adf97bf276b3ddb668df5320b715acb3fa0a56 (diff)
downloadyukawa-f1f9dd0e18a12576c0ac7c168a0439023e8f98bb.tar.gz
Snap for 10843824 from a0adf97bf276b3ddb668df5320b715acb3fa0a56 to 24Q1-release
Change-Id: I6c90dec45b90897d32fc2fad4fd7821f3cfc99a9
-rw-r--r--hal/gralloc/mali_gralloc_debug.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/hal/gralloc/mali_gralloc_debug.cpp b/hal/gralloc/mali_gralloc_debug.cpp
index d4473ed..3737fbc 100644
--- a/hal/gralloc/mali_gralloc_debug.cpp
+++ b/hal/gralloc/mali_gralloc_debug.cpp
@@ -120,7 +120,7 @@ void mali_gralloc_dump_internal(uint32_t *outSize, char *outBuffer)
if (NULL == outBuffer)
{
- if (!dumpStrings.isEmpty())
+ if (!dumpStrings.empty())
{
dumpStrings.clear();
}
@@ -129,7 +129,7 @@ void mali_gralloc_dump_internal(uint32_t *outSize, char *outBuffer)
}
else
{
- if (dumpStrings.isEmpty())
+ if (dumpStrings.empty())
{
*outSize = 0;
}
@@ -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);
}
}
}