commit | 32bde99142c5e59b8cad572d9a7b5a81ee12cd00 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Mon May 14 15:24:34 2018 +0100 |
committer | David Brazdil <dbrazdil@google.com> | Mon May 14 15:24:34 2018 +0100 |
tree | 247cf899519cdc553f278668caaecc5f5ffafa38 | |
parent | 1ab0fa89aed1100a3e6b631cb188db1d759b1efc [diff] |
Propagate hiddenapi cmdline flags in OatFileAssistant::Dex2Oat ART can invoke dex2oat on an out-of-date or non-existent oat file. This code path will ignore any runtime hidden API enforcement policy settings. Change the code to set the correct flag and add a gtest for it. Bug: 79680013 Test: make test-art-host-gtest-oat_file_assistant_test Change-Id: Id6aa5e45d11626facb590621d43e2c52b9269b12