diff options
author | Tomasz Wasilczyk <twasilczyk@google.com> | 2023-09-14 16:55:30 +0000 |
---|---|---|
committer | Tomasz Wasilczyk <twasilczyk@google.com> | 2023-09-14 16:55:30 +0000 |
commit | a7cf8bd13f4ec708aeab415ad0790bca03102914 (patch) | |
tree | 2eda230f56f78f13cc78416de13f482968009d58 | |
parent | 4ec61fb766b688f0bdc461817572c8857ec4075d (diff) | |
download | yukawa-a7cf8bd13f4ec708aeab415ad0790bca03102914.tar.gz |
Migrate from android::String isEmpty to empty
Bug: 295394788
Test: make checkbuild
Change-Id: I4bf58cbb09e51eeea5c32181437e3c0a4b2fb417
-rw-r--r-- | hal/gralloc/mali_gralloc_debug.cpp | 4 |
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; } |