Merge "adb: report progress for small files." am: 4c87588fa2

am: d799184236

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