summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Wasilczyk <twasilczyk@google.com>2023-09-14 18:58:23 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-09-14 18:58:23 +0000
commitbd5a1a486600949057a258da79fbf45430da144f (patch)
tree513706bf2c4c59a853764d6fa3286494d05ef86e
parentd89f71b95fbc8d850eec9141cba9696da82865ad (diff)
parenta7cf8bd13f4ec708aeab415ad0790bca03102914 (diff)
downloadyukawa-bd5a1a486600949057a258da79fbf45430da144f.tar.gz
Migrate from android::String isEmpty to empty am: a7cf8bd13f
Original change: https://android-review.googlesource.com/c/device/amlogic/yukawa/+/2751986 Change-Id: Ieb4afe37f7aea5257c6270d91e396a4e2fe7f3cb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--hal/gralloc/mali_gralloc_debug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/hal/gralloc/mali_gralloc_debug.cpp b/hal/gralloc/mali_gralloc_debug.cpp
index d4473ed..2b2b4a7 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;
}