Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d7db574 authored by Orion Hodson's avatar Orion Hodson
Browse files

Drop runtime argument from profman invocation

(cherry picked from commit c47757ca)

Bug: 192871419
Test: atest installd_dexopt_test

Ignore-AOSP-First: cherry pick of https://r.android.com/1757092
Merged-In: I7aeef7465f3617393ede43b24b142d7149942b3d
Change-Id: I3f93f2c1079fe6a44326f60b29a088e4eb6bac97
parent 10d57c6c
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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);
    }