commit | bbb3f271bb11832ff6c853119f0809cb9c2993ac | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Mar 01 11:46:02 2016 -0800 |
committer | Josh Gao <jmgao@google.com> | Tue Mar 01 11:52:55 2016 -0800 |
tree | 9566af96275ce635e533453e8d86994109267b6c | |
parent | 333dca58733581b9e90691b4b4aa5e060c7acab1 [diff] |
adb: report progress for small files. Bug: http://b/27407725 Change-Id: I7515144402a487fb3d4d403e2f5f82423c1b5ed6
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; }