X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/804c194eac94d50849367090c96d6cc2d62d2760..6be9d2fef218272188077404d74f50b9f2175f54:/Images.cpp diff --git a/Images.cpp b/Images.cpp index 6402e3c..2b9b056 100644 --- a/Images.cpp +++ b/Images.cpp @@ -964,7 +964,7 @@ static void write_png(const char* imageName, compression_type)); } -status_t preProcessImage(Bundle* bundle, const sp& assets, +status_t preProcessImage(const Bundle* bundle, const sp& assets, const sp& file, String8* outNewLeafName) { String8 ext(file->getPath().getPathExtension()); @@ -1084,7 +1084,7 @@ bail: return error; } -status_t preProcessImageToCache(Bundle* bundle, String8 source, String8 dest) +status_t preProcessImageToCache(const Bundle* bundle, const String8& source, const String8& dest) { png_structp read_ptr = NULL; png_infop read_info = NULL;