adb: report progress for small files.

Bug: http://b/27407725
Change-Id: I7515144402a487fb3d4d403e2f5f82423c1b5ed6
This commit is contained in:
Josh Gao 2016-03-01 11:46:02 -08:00
parent f666ba41a7
commit 9fd2f77dcc
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}