commit | fd9ffd1d15d5d53e19a4a500cf2fc5892a10d60f | [log] [tgz] |
---|---|---|
author | Tomasz Wasilczyk <twasilczyk@google.com> | Mon Aug 14 17:56:22 2023 +0000 |
committer | Tomasz Wasilczyk <twasilczyk@google.com> | Thu Aug 31 17:48:47 2023 +0000 |
tree | 8ae700f8ef0d5c8c41c47f79aae4854c8d9f932b | |
parent | 604c767a0ab2f98b3eb252458bc940909f4471f4 [diff] [blame] |
Migrate from android::String isEmpty to empty This empty method is different from the old one - it aligns with std::string definition. Bug: 295394788 Test: make checkbuild Change-Id: I890b3dfa930002f4406e9d9aec024f94ada1cad0
diff --git a/services/audioflinger/PatchPanel.cpp b/services/audioflinger/PatchPanel.cpp index 972c870..351c618 100644 --- a/services/audioflinger/PatchPanel.cpp +++ b/services/audioflinger/PatchPanel.cpp
@@ -928,7 +928,7 @@ } } - if (!patchPanelDump.isEmpty()) { + if (!patchPanelDump.empty()) { write(fd, patchPanelDump.c_str(), patchPanelDump.size()); } }