Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f44c05f8 authored by Nicolas Geoffray's avatar Nicolas Geoffray Committed by android-build-merger
Browse files

Merge "Delete vdex file in delete_odex." am: 99dedeb6 am: f6b79dd0 am: 6dc66446

am: 362e56e4

Change-Id: I7594ff3af6fc72e4d155afab41ef3ae4cb1b60ef
parents 8ac33bda 362e56e4
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1940,8 +1940,11 @@ bool delete_odex(const char* apk_path, const char* instruction_set, const char*
    // Derive and delete the app image.
    bool return_value_art = unlink_and_check(create_image_filename(out_path).c_str());

    // Derive and delete the vdex file.
    bool return_value_vdex = unlink_and_check(create_vdex_filename(out_path).c_str());

    // Report success.
    return return_value_oat && return_value_art;
    return return_value_oat && return_value_art && return_value_vdex;
}

}  // namespace installd