Loading cmds/installd/otapreopt.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ #include <sys/prctl.h> #include <sys/stat.h> #include <sys/mman.h> #include <sys/wait.h> #include <android-base/logging.h> #include <android-base/macros.h> Loading Loading @@ -504,6 +505,11 @@ private: return 0; } if (WIFSIGNALED(dexopt_result)) { LOG(WARNING) << "Interrupted by signal " << WTERMSIG(dexopt_result) ; return dexopt_result; } // If this was a profile-guided run, we may have profile version issues. Try to downgrade, // if possible. if ((parameters_.dexopt_flags & DEXOPT_PROFILE_GUIDED) == 0) { Loading Loading
cmds/installd/otapreopt.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ #include <sys/prctl.h> #include <sys/stat.h> #include <sys/mman.h> #include <sys/wait.h> #include <android-base/logging.h> #include <android-base/macros.h> Loading Loading @@ -504,6 +505,11 @@ private: return 0; } if (WIFSIGNALED(dexopt_result)) { LOG(WARNING) << "Interrupted by signal " << WTERMSIG(dexopt_result) ; return dexopt_result; } // If this was a profile-guided run, we may have profile version issues. Try to downgrade, // if possible. if ((parameters_.dexopt_flags & DEXOPT_PROFILE_GUIDED) == 0) { Loading