Merge "adb: report progress for small files."

am: 4c87588fa2

* commit '4c87588fa2676d99c4ebca9a59b26adf0ef89e82':
  adb: report progress for small files.
This commit is contained in:
Josh Gao 2016-03-01 20:38:13 +00:00 committed by android-build-merger
commit d799184236
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;
}