summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2018-08-03 11:47:23 -0700
committerYabin Cui <yabinc@google.com>2018-08-03 11:50:22 -0700
commit68b07430d3707aa43646286105109ce3903272e5 (patch)
treead74c314df530c0a0ae92ae8d07b54f9b7d5bb3e
parent3dafe0b6356473819ea2b6fca022fc9459eb94cd (diff)
downloadextras-68b07430d3707aa43646286105109ce3903272e5.tar.gz
simpleperf: remove an improper error message.
Parsing a map using extracted classes.dex in apk file triggers the error message. But it isn't an error. Bug: none Test: run simpleperf_unit_test. Change-Id: I6658ab410579cc95d40d6383a761035444437561
-rw-r--r--simpleperf/read_apk.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/simpleperf/read_apk.cpp b/simpleperf/read_apk.cpp
index 9efd0a98..fd0e0f70 100644
--- a/simpleperf/read_apk.cpp
+++ b/simpleperf/read_apk.cpp
@@ -120,7 +120,6 @@ std::unique_ptr<EmbeddedElf> ApkInspector::FindElfInApkByNameWithoutCache(
return nullptr;
}
if (zentry.method != kCompressStored || zentry.compressed_length != zentry.uncompressed_length) {
- LOG(ERROR) << "shared library " << entry_name << " in " << apk_path << " is compressed";
return nullptr;
}
return std::unique_ptr<EmbeddedElf>(new EmbeddedElf(apk_path, entry_name, zentry.offset,