commit | 696308f1de910d455390a2df45c967e0189a6a80 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Fri Oct 27 19:55:53 2023 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri Oct 27 19:55:53 2023 +0000 |
tree | c1a611b37190f1526b83cdeca3baa82e7fa552e0 | |
parent | 0e5421dcdc7c8a46d0d9f9d18ce19a7e53e60a85 [diff] | |
parent | 4bd0b7c2a228fb19dac58e238b8599aa88d98428 [diff] |
Merge "Dump dispatcher state before crashing" into main
diff --git a/cmds/installd/otapreopt.cpp b/cmds/installd/otapreopt.cpp index 822ab7f..8eb7458 100644 --- a/cmds/installd/otapreopt.cpp +++ b/cmds/installd/otapreopt.cpp
@@ -514,6 +514,8 @@ // Make sure dex2oat is run with background priority. dexopt_flags |= DEXOPT_BOOTCOMPLETE | DEXOPT_IDLE_BACKGROUND_JOB; + parameters_.compilation_reason = "ab-ota"; + int res = dexopt(parameters_.apk_path, parameters_.uid, parameters_.pkgName,