Loading cmds/installd/commands.cpp +3 −0 Original line number Original line Diff line number Diff line Loading @@ -2182,6 +2182,9 @@ int move_ab(const char* apk_path, const char* instruction_set, const char* oat_d bool art_success = true; bool art_success = true; if (!a_image_path.empty()) { if (!a_image_path.empty()) { art_success = move_ab_path(b_image_path, a_image_path); art_success = move_ab_path(b_image_path, a_image_path); if (!art_success) { unlink(a_image_path.c_str()); } } } success = art_success || kIgnoreAppImageFailure; success = art_success || kIgnoreAppImageFailure; Loading Loading
cmds/installd/commands.cpp +3 −0 Original line number Original line Diff line number Diff line Loading @@ -2182,6 +2182,9 @@ int move_ab(const char* apk_path, const char* instruction_set, const char* oat_d bool art_success = true; bool art_success = true; if (!a_image_path.empty()) { if (!a_image_path.empty()) { art_success = move_ab_path(b_image_path, a_image_path); art_success = move_ab_path(b_image_path, a_image_path); if (!art_success) { unlink(a_image_path.c_str()); } } } success = art_success || kIgnoreAppImageFailure; success = art_success || kIgnoreAppImageFailure; Loading