Loading cmds/installd/Android.mk +1 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ LOCAL_CFLAGS += -DART_BASE_ADDRESS_MIN_DELTA=$(LOCAL_LIBART_IMG_HOST_MIN_BASE_AD LOCAL_CFLAGS += -DART_BASE_ADDRESS_MAX_DELTA=$(LOCAL_LIBART_IMG_HOST_MAX_BASE_ADDRESS_DELTA) LOCAL_SRC_FILES := otapreopt.cpp globals.cpp utils.cpp dexopt.cpp LOCAL_HEADER_LIBRARIES := dex2oat_headers LOCAL_SHARED_LIBRARIES := \ libbase \ libcutils \ Loading cmds/installd/otapreopt.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ #include <android-base/strings.h> #include <cutils/fs.h> #include <cutils/properties.h> #include <dex2oat_return_codes.h> #include <log/log.h> #include <private/android_filesystem_config.h> Loading Loading @@ -576,7 +577,11 @@ private: } // If the dexopt failed, we may have a stale boot image from a previous OTA run. // Try to delete and retry. // Then regenerate and retry. if (WEXITSTATUS(dexopt_result) != static_cast<int>(art::dex2oat::ReturnCode::kCreateRuntime)) { return dexopt_result; } if (!PrepareBootImage(/* force */ true)) { LOG(ERROR) << "Forced boot image creating failed. Original error return was " Loading Loading
cmds/installd/Android.mk +1 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ LOCAL_CFLAGS += -DART_BASE_ADDRESS_MIN_DELTA=$(LOCAL_LIBART_IMG_HOST_MIN_BASE_AD LOCAL_CFLAGS += -DART_BASE_ADDRESS_MAX_DELTA=$(LOCAL_LIBART_IMG_HOST_MAX_BASE_ADDRESS_DELTA) LOCAL_SRC_FILES := otapreopt.cpp globals.cpp utils.cpp dexopt.cpp LOCAL_HEADER_LIBRARIES := dex2oat_headers LOCAL_SHARED_LIBRARIES := \ libbase \ libcutils \ Loading
cmds/installd/otapreopt.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ #include <android-base/strings.h> #include <cutils/fs.h> #include <cutils/properties.h> #include <dex2oat_return_codes.h> #include <log/log.h> #include <private/android_filesystem_config.h> Loading Loading @@ -576,7 +577,11 @@ private: } // If the dexopt failed, we may have a stale boot image from a previous OTA run. // Try to delete and retry. // Then regenerate and retry. if (WEXITSTATUS(dexopt_result) != static_cast<int>(art::dex2oat::ReturnCode::kCreateRuntime)) { return dexopt_result; } if (!PrepareBootImage(/* force */ true)) { LOG(ERROR) << "Forced boot image creating failed. Original error return was " Loading