From a7cf8bd13f4ec708aeab415ad0790bca03102914 Mon Sep 17 00:00:00 2001 From: Tomasz Wasilczyk Date: Thu, 14 Sep 2023 16:55:30 +0000 Subject: Migrate from android::String isEmpty to empty Bug: 295394788 Test: make checkbuild Change-Id: I4bf58cbb09e51eeea5c32181437e3c0a4b2fb417 --- hal/gralloc/mali_gralloc_debug.cpp | 4 ++-- 1 file 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; } -- cgit v1.2.3