summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetManager2.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 /libs/androidfw/AssetManager2.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 'libs/androidfw/AssetManager2.cpp')
-rw-r--r--libs/androidfw/AssetManager2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/androidfw/AssetManager2.cpp b/libs/androidfw/AssetManager2.cpp
index d33b592bddc6..bff197cc290f 100644
--- a/libs/androidfw/AssetManager2.cpp
+++ b/libs/androidfw/AssetManager2.cpp
@@ -958,13 +958,13 @@ std::string AssetManager2::GetLastResourceResolution() const {
const auto& assets = GetApkAssets(step.cookie);
log_stream << "\n\t" << prefix->second << ": "
<< (assets ? assets->GetDebugName() : "<null>") << " #" << step.cookie;
- if (!step.config_name.isEmpty()) {
+ if (!step.config_name.empty()) {
log_stream << " - " << step.config_name;
}
}
log_stream << "\nBest matching is from "
- << (last_resolution_.best_config_name.isEmpty() ? "default"
+ << (last_resolution_.best_config_name.empty() ? "default"
: last_resolution_.best_config_name)
<< " configuration of " << last_resolution_.best_package_name;
return log_stream.str();