X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/34ceac879a88aac0117323712ee67fad79a561bd..7a7c29caf280ea038fb29377a75586bc5b527857:/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;