commit | f22bc60fc9b16148cd82e2c23b22ca3f62b00d96 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Mar 01 11:46:02 2016 -0800 |
committer | Josh Gao <jmgao@google.com> | Thu Mar 03 15:46:50 2016 -0800 |
tree | 04d5e87d85a9ee137ce194668930edb69cb79032 | |
parent | f48503b4a0b5075fa6919260d873887d14916f2d [diff] [blame] |
adb: report progress for small files. Bug: http://b/27407725 Change-Id: I7515144402a487fb3d4d403e2f5f82423c1b5ed6 (cherry picked from commit 9fd2f77dcce09aa38bf8f1798ebaac2abeef1598)
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; }