Commit 4fe044c8 authored by David Brazdil's avatar David Brazdil
Browse files

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
Merged-In: Id6aa5e45d11626facb590621d43e2c52b9269b12
Change-Id: Id6aa5e45d11626facb590621d43e2c52b9269b12
(cherry picked from commit 32bde991)
parent d527438a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment