commit | ee5907579ef499920fb91424fa8be008b1cd9d23 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Mar 01 20:38:13 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Mar 01 20:38:13 2016 +0000 |
tree | 0f7397bb1f5a6f254a535f816609c0f08ce11d4d | |
parent | 814d6b3c3d049abb6cbd416b2cfcc0be03e050fe [diff] | |
parent | 238cbd7b234ff2f730d7b05604f8bac05c6c9a57 [diff] |
Merge "adb: report progress for small files." am: 4c87588fa2 * commit '4c87588fa2676d99c4ebca9a59b26adf0ef89e82': adb: report progress for small files.
diff --git a/adb/file_sync_client.cpp b/adb/file_sync_client.cpp index 3a81ce6..cdbff11 100644 --- a/adb/file_sync_client.cpp +++ b/adb/file_sync_client.cpp
@@ -188,6 +188,7 @@ WriteOrDie(lpath, rpath, &buf[0], (p - &buf[0])); expect_done_ = true; total_bytes_ += data_length; + ReportProgress(rpath, data_length, data_length); return true; }