diff options
author | 2023-08-31 10:05:54 +0000 | |
---|---|---|
committer | 2023-08-31 10:05:54 +0000 | |
commit | e5ee511172be798f860ea7a61858037f75903d36 (patch) | |
tree | 9a50936c2c02aaa2ac05c221d659e85787741305 /tools/aapt/Command.cpp | |
parent | 9d0bcc2935d9c8633d5423ab2fb1ff14b2d1f446 (diff) | |
parent | 2ce9592378ced7688e6107791de219139d0f231d (diff) |
Merge "Migrate from android::String isEmpty to empty [aapt]" into main am: 2ce9592378
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2725659
Change-Id: I138a5369aebbe74737992252c2b1fac6cf4ce16f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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()); } |