summaryrefslogtreecommitdiff
path: root/runtime/class_loader_context_test.cc
diff options
context:
space:
mode:
author wangshumin <wangshumin@xiaomi.com> 2019-11-08 19:25:50 +0800
committer Vladimir Marko <vmarko@google.com> 2020-04-08 10:09:02 +0000
commit3949e5ed86cb752125c7b545ed5c59edfa80580a (patch)
tree2c92db555a3d3c49306924b1c148970ab7ba3121 /runtime/class_loader_context_test.cc
parent42df1c7db9f798fc6e1975773bbeff53f3a037da (diff)
Fix dex2oat failure when --zip-fd actually points to raw dexfile.
Installd always pass --zip-fd to dex2oat when perform dexopt, however some apps use RawDexFile rather than ZipArchive as secondary dex, so check whether it's a RawDexfile before try it as ZipArchive. This make sure dex2oat success when secondary dex is a raw dexfile. Test: m test-art-host-gtest-oat_writer_test Test: m test-art-host-gtest-dex2oat_test Change-Id: I6da98845cdf64acee1865dd997616e8214417315 Signed-off-by: wangshumin <wangshumin@xiaomi.com>
Diffstat (limited to 'runtime/class_loader_context_test.cc')
0 files changed, 0 insertions, 0 deletions