diff options
-rw-r--r-- | cmds/installd/otapreopt.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/installd/otapreopt.cpp b/cmds/installd/otapreopt.cpp index 822ab7fbb7..8eb74583fe 100644 --- a/cmds/installd/otapreopt.cpp +++ b/cmds/installd/otapreopt.cpp @@ -514,6 +514,8 @@ private: // 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, |