commit | c23f851300109b1c8fd4b3f0b70cb5105ef1aa7f | [log] [tgz] |
---|---|---|
author | Calin Juravle <calin@google.com> | Tue Apr 18 21:25:37 2017 -0700 |
committer | Calin Juravle <calin@google.com> | Fri Apr 21 13:21:18 2017 -0700 |
tree | 528ce79366ae576da4f4e2f10a074528671fd98e | |
parent | d8fbd99cbf87e7944dd79f54d9b8da37fad793c9 [diff] |
Ignore the optimized location passed to DexFile.loadDex() This ensures that apps don't trigger dex2oat to locations that are not recognized (anymore) by the runtime. The background compilation job will takes care of optimizing the dex files loaded via DexClassLoader. Test: m test-art-host Bug: 36824842 (cherry picked from commit 1f7079b72965cba0b1a40f53be97a4944ecb4a51) Change-Id: Icf07ac70b5d2df7b9e6259877908d12b96827a82