summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrion Hodson <oth@google.com>2021-07-06 15:28:03 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-07-06 15:28:03 +0000
commitbf61976765d76cecbce0192d2dab5f9b7c79f58e (patch)
treea1d61a3f3d8f5f3ede696fedd3ddc3b5707d4434
parentd2a37363227881b914a5af59ab6e8dd2a4ede721 (diff)
parent2d7db5747fb1ffbea629dfc41f8a12ac415da42f (diff)
downloadnative-bf61976765d76cecbce0192d2dab5f9b7c79f58e.tar.gz
Drop runtime argument from profman invocation am: 2d7db5747f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15215411 Change-Id: I3d2d14d66120fa18678537e8976e9de1c73558ef
-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);
}