From 31b110576254bf96f46b6ade26d74276981a8b74 Mon Sep 17 00:00:00 2001 From: Ryan Mitchell Date: Thu, 13 Jun 2019 13:47:26 -0700 Subject: 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 --- libs/androidfw/ApkAssets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/androidfw/ApkAssets.cpp') 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 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. -- cgit v1.2.3-59-g8ed1b