commit | 93a0b3c0aecdb73f6392047a19e8af3d165dacf3 | [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 | dc38c04978fef6c63b0d90ae17575ce1385a11f8 | |
parent | e2851ce34daccaa4d4a8c9e8e5d27f90ebba92d8 [diff] |
adb: report progress for small files. Bug: http://b/27407725 Change-Id: I7515144402a487fb3d4d403e2f5f82423c1b5ed6
diff --git a/file_sync_client.cpp b/file_sync_client.cpp index 3a81ce6..cdbff11 100644 --- a/file_sync_client.cpp +++ b/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; }