Skip to content

Commit

Permalink
Merge "Do not calculate CRC for sparse images during fastboot flash"
Browse files Browse the repository at this point in the history
  • Loading branch information
Treehugger Robot authored and Gerrit Code Review committed Oct 10, 2018
2 parents cd72cbb + aec0de5 commit a605668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastboot/device/flashing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a605668

Please sign in to comment.