diff options
author | Josh Gao <jmgao@google.com> | 2016-03-01 11:46:02 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2016-03-03 15:46:50 -0800 |
commit | f22bc60fc9b16148cd82e2c23b22ca3f62b00d96 (patch) | |
tree | 04d5e87d85a9ee137ce194668930edb69cb79032 /adb/file_sync_client.cpp | |
parent | f48503b4a0b5075fa6919260d873887d14916f2d (diff) |
adb: report progress for small files.
Bug: http://b/27407725
Change-Id: I7515144402a487fb3d4d403e2f5f82423c1b5ed6
(cherry picked from commit 9fd2f77dcce09aa38bf8f1798ebaac2abeef1598)
Diffstat (limited to 'adb/file_sync_client.cpp')
-rw-r--r-- | adb/file_sync_client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/adb/file_sync_client.cpp b/adb/file_sync_client.cpp index 3a81ce6aca..cdbff11de3 100644 --- a/adb/file_sync_client.cpp +++ b/adb/file_sync_client.cpp @@ -188,6 +188,7 @@ class SyncConnection { WriteOrDie(lpath, rpath, &buf[0], (p - &buf[0])); expect_done_ = true; total_bytes_ += data_length; + ReportProgress(rpath, data_length, data_length); return true; } |