Merge "Do not calculate CRC for sparse images during fastboot flash"

This commit is contained in:
Treehugger Robot 2018-10-10 22:22:30 +00:00 committed by Gerrit Code Review
commit a605668edd
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ int WriteCallback(void* priv, const void* data, size_t len) {
}
int FlashSparseData(int fd, std::vector<char>& downloaded_data) {
struct sparse_file* file = sparse_file_import_buf(downloaded_data.data(), true, true);
struct sparse_file* file = sparse_file_import_buf(downloaded_data.data(), true, false);
if (!file) {
return -ENOENT;
}