Change-Id: Ided86fe1991e5d9d6a707465429ec35ccc09743a
This commit is contained in:
Koushik Dutta 2011-05-25 10:47:41 -07:00
parent 0b4eac9e01
commit d79b7541f3
2 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,7 @@ LOCAL_MODULE := recovery
LOCAL_FORCE_STATIC_EXECUTABLE := true
RECOVERY_VERSION := ClockworkMod Recovery v3.1.0.1
RECOVERY_VERSION := ClockworkMod Recovery v3.1.0.2
LOCAL_CFLAGS += -DRECOVERY_VERSION="$(RECOVERY_VERSION)"
RECOVERY_API_VERSION := 2
LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION)

View File

@ -245,8 +245,9 @@ try_update_binary(const char *path, ZipArchive *zip) {
}
if (firmware_type != NULL) {
int ret = handle_firmware_update(firmware_type, firmware_filename, zip);
mzCloseZipArchive(zip);
return handle_firmware_update(firmware_type, firmware_filename, zip);
return ret;
}
return INSTALL_SUCCESS;
}