commit | 7e22cab784f64c658b8a41fa1fb22cf7bd44c65e | [log] [tgz] |
---|---|---|
author | Tomasz Wasilczyk <twasilczyk@google.com> | Thu Aug 24 19:02:33 2023 +0000 |
committer | Tomasz Wasilczyk <twasilczyk@google.com> | Wed Aug 30 15:39:21 2023 +0000 |
tree | 1ea48be81b1707574180e21ad668d4ca0fc7ea33 | |
parent | 22f1191130fe6917f963eb0ce7756967f034bb05 [diff] [blame] |
Migrate from android::String isEmpty to empty [aapt] This empty method is different from the old one - it aligns with std::string definition. Bug: 295394788 Test: make checkbuild Change-Id: I1900f2285ee3c3b1eb57d2cef3990896a64dae01 Merged-In: I1900f2285ee3c3b1eb57d2cef3990896a64dae01
diff --git a/tools/split-select/SplitDescription.cpp b/tools/split-select/SplitDescription.cpp index 4e2b48e..7150008 100644 --- a/tools/split-select/SplitDescription.cpp +++ b/tools/split-select/SplitDescription.cpp
@@ -70,7 +70,7 @@ String8 SplitDescription::toString() const { String8 extension; if (abi != abi::Variant_none) { - if (extension.isEmpty()) { + if (extension.empty()) { extension.append(":"); } else { extension.append("-");