summaryrefslogtreecommitdiff
path: root/adb/file_sync_client.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-03-01 11:46:02 -0800
committerJosh Gao <jmgao@google.com>2016-03-01 11:52:55 -0800
commit9fd2f77dcce09aa38bf8f1798ebaac2abeef1598 (patch)
tree9566af96275ce635e533453e8d86994109267b6c /adb/file_sync_client.cpp
parentf666ba41a729834bf15296ab13a92f33c5b0d592 (diff)
adb: report progress for small files.
Bug: http://b/27407725 Change-Id: I7515144402a487fb3d4d403e2f5f82423c1b5ed6
Diffstat (limited to 'adb/file_sync_client.cpp')
-rw-r--r--adb/file_sync_client.cpp1
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;
}