summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Orion Hodson <oth@google.com> 2021-07-06 13:16:13 +0100
committer Orion Hodson <oth@google.com> 2021-07-06 13:40:15 +0100
commit2d7db5747fb1ffbea629dfc41f8a12ac415da42f (patch)
treea1d61a3f3d8f5f3ede696fedd3ddc3b5707d4434
parent10d57c6cfa946d7c87fe4aa51a137865f01fdb0a (diff)
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
-rw-r--r--cmds/installd/dexopt.cpp8
1 files changed, 0 insertions, 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);
}