summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkAssets.cpp
diff options
context:
space:
mode:
authorRyan Mitchell <rtmitchell@google.com>2019-06-13 13:47:26 -0700
committerRyan Mitchell <rtmitchell@google.com>2019-06-13 13:47:26 -0700
commit31b110576254bf96f46b6ade26d74276981a8b74 (patch)
treeb663e15d026d5cabc5a390cddc9a7027a98c31e8 /libs/androidfw/ApkAssets.cpp
parent1dbbe1133280d8bd361a29aa36b643e847a80d3a (diff)
Suppress compressed rersources.arsc on host
Do not print warnings when an APK loaded into aapt2's symbol table has a compressed resources.arsc. This log is helpful at runtime since compressed arscs take longer uncompress. Bug: 130617130 Test: manual Change-Id: I52847663ad8f46ba00d3dd1ebb2292ab54737680
Diffstat (limited to 'libs/androidfw/ApkAssets.cpp')
-rw-r--r--libs/androidfw/ApkAssets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/androidfw/ApkAssets.cpp b/libs/androidfw/ApkAssets.cpp
index 61e32301dc85..85b2d6f531aa 100644
--- a/libs/androidfw/ApkAssets.cpp
+++ b/libs/androidfw/ApkAssets.cpp
@@ -134,7 +134,7 @@ std::unique_ptr<const ApkAssets> ApkAssets::LoadImpl(
}
if (entry.method == kCompressDeflated) {
- LOG(WARNING) << kResourcesArsc << " in APK '" << path << "' is compressed.";
+ ANDROID_LOG(WARNING) << kResourcesArsc << " in APK '" << path << "' is compressed.";
}
// Open the resource table via mmap unless it is compressed. This logic is taken care of by Open.