diff options
author | 2023-08-30 18:20:58 +0000 | |
---|---|---|
committer | 2023-08-30 18:20:58 +0000 | |
commit | 2ce9592378ced7688e6107791de219139d0f231d (patch) | |
tree | ecb7f35f40f6a240a30358c692e354edfe816e6a /tools/aapt/Command.cpp | |
parent | 5f313ec81557d37b78d6a68c7a7107cc45914c8c (diff) | |
parent | 7e22cab784f64c658b8a41fa1fb22cf7bd44c65e (diff) |
Merge "Migrate from android::String isEmpty to empty [aapt]" into main
Diffstat (limited to 'tools/aapt/Command.cpp')
-rw-r--r-- | tools/aapt/Command.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp index 5a06b102592a..60f3f2715395 100644 --- a/tools/aapt/Command.cpp +++ b/tools/aapt/Command.cpp @@ -1133,7 +1133,7 @@ int doDump(Bundle* bundle) if (code == ResXMLTree::END_TAG) { depth--; if (depth < 2) { - if (withinSupportsInput && !supportedInput.isEmpty()) { + if (withinSupportsInput && !supportedInput.empty()) { printf("supports-input: '"); const size_t N = supportedInput.size(); for (size_t i=0; i<N; i++) { @@ -1300,7 +1300,7 @@ int doDump(Bundle* bundle) ResTable::normalizeForOutput(versionName.c_str()).c_str()); String8 splitName = AaptXml::getAttribute(tree, NULL, "split"); - if (!splitName.isEmpty()) { + if (!splitName.empty()) { printf(" split='%s'", ResTable::normalizeForOutput( splitName.c_str()).c_str()); } |