summaryrefslogtreecommitdiff
path: root/tools/split-select/SplitDescription.cpp
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2023-08-31 10:47:20 +0000
committer Tomasz Wasilczyk <twasilczyk@google.com> 2023-08-31 18:29:49 +0000
commitcbb5520bc8556c9f4e477513cb157f717254ceb2 (patch)
tree1a6bf50be795a191e9477a2545d607ff954d3b08 /tools/split-select/SplitDescription.cpp
parentcce004cc51e6df6724c0e34aab192e0b1fa86864 (diff)
parente5ee511172be798f860ea7a61858037f75903d36 (diff)
[conflict] Merge "Migrate from android::String isEmpty to empty [aapt]" into main am: 2ce9592378 am: e5ee511172
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2725659 Change-Id: I177a7b051ecd418cc07b3026ae4100cac271408e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Merged-In: I1900f2285ee3c3b1eb57d2cef3990896a64dae01
Diffstat (limited to 'tools/split-select/SplitDescription.cpp')
-rw-r--r--tools/split-select/SplitDescription.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/split-select/SplitDescription.cpp b/tools/split-select/SplitDescription.cpp
index 4e2b48e1f450..71500080193f 100644
--- a/tools/split-select/SplitDescription.cpp
+++ b/tools/split-select/SplitDescription.cpp
@@ -70,7 +70,7 @@ bool SplitDescription::match(const SplitDescription& o) const {
String8 SplitDescription::toString() const {
String8 extension;
if (abi != abi::Variant_none) {
- if (extension.isEmpty()) {
+ if (extension.empty()) {
extension.append(":");
} else {
extension.append("-");