commit | 4a265c21860177839d503d0629dae3d343f352d9 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Mon Apr 09 14:25:14 2018 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Mon Apr 09 18:52:56 2018 -0700 |
tree | 08c33194698cfe9311a0bbb1376e9c7802f9b5e6 | |
parent | 3a67727fb485087b92e63a05ac294c1d2595cd01 [diff] |
Don't pass empty profile to OatWriter Doing so causes dexlayout to run and unnecessarily increases dex2oat time. This change passes null if the profile is empty to fix this. Bug: 77719042 Test: test-art-host (cherry picked from commit cc2cd98c21f77c8ae368988d380827811be2dc9d) Merged-In: Id663d2cbf32dae57f0b562a1f5263293869727d7 Change-Id: I4599f4784c7d2ac3f5e759249226ca9d155efc31