Merge "Do not calculate CRC for sparse images during fastboot flash"
This commit is contained in:
commit
a605668edd
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue