summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Second.java
diff options
context:
space:
mode:
authorwangshumin <wangshumin@xiaomi.com>2019-11-08 19:25:50 +0800
committerVladimir Marko <vmarko@google.com>2020-04-09 08:24:03 +0000
commitfe331bae86c6c08185815d4705c5c7f046d8566d (patch)
tree89426c5d09775c34a5fea53f54881937f9230c28 /test/ProfileTestMultiDex/Second.java
parent7c02a9d372251c0e66c2cde2c09cfb340f8e3733 (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. (cherry picked from commit 3949e5ed86cb752125c7b545ed5c59edfa80580a) Test: m test-art-host-gtest-oat_writer_test Test: m test-art-host-gtest-dex2oat_test Bug: 153534055 Signed-off-by: wangshumin <wangshumin@xiaomi.com> Merged-In: I6da98845cdf64acee1865dd997616e8214417315 Change-Id: I35dd511ee744f0670a9576f495927623966368f8
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions