From 2d7db5747fb1ffbea629dfc41f8a12ac415da42f Mon Sep 17 00:00:00 2001 From: Orion Hodson Date: Tue, 6 Jul 2021 13:16:13 +0100 Subject: Drop runtime argument from profman invocation (cherry picked from commit c47757ca9c91266e7ec0c23207379ef2fff8716c) Bug: 192871419 Test: atest installd_dexopt_test Ignore-AOSP-First: cherry pick of https://r.android.com/1757092 Merged-In: I7aeef7465f3617393ede43b24b142d7149942b3d Change-Id: I3f93f2c1079fe6a44326f60b29a088e4eb6bac97 --- cmds/installd/dexopt.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cmds/installd/dexopt.cpp b/cmds/installd/dexopt.cpp index cd5c36f68d..9128542aae 100644 --- a/cmds/installd/dexopt.cpp +++ b/cmds/installd/dexopt.cpp @@ -492,14 +492,6 @@ class RunProfman : public ExecVHelper { std::to_string(min_new_methods_percent_change)); } - // On-device signing related. odsign sets the system property odsign.verification.success if - // AOT artifacts have the expected signatures. - const bool trust_art_apex_data_files = - ::android::base::GetBoolProperty("odsign.verification.success", false); - if (!trust_art_apex_data_files) { - AddRuntimeArg("-Xdeny-art-apex-data-files"); - } - // Do not add after dex2oat_flags, they should override others for debugging. PrepareArgs(profman_bin); } -- cgit v1.2.3