summaryrefslogtreecommitdiff
path: root/fastboot/device/flashing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fastboot/device/flashing.cpp')
-rw-r--r--fastboot/device/flashing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/device/flashing.cpp b/fastboot/device/flashing.cpp
index e3efbcba2..a383c54b2 100644
--- a/fastboot/device/flashing.cpp
+++ b/fastboot/device/flashing.cpp
@@ -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, false);
+ struct sparse_file* file = sparse_file_import_buf(downloaded_data.data(), true, true);
if (!file) {
return -ENOENT;
}