From 9fd2f77dcce09aa38bf8f1798ebaac2abeef1598 Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Tue, 1 Mar 2016 11:46:02 -0800 Subject: [PATCH] adb: report progress for small files. Bug: http://b/27407725 Change-Id: I7515144402a487fb3d4d403e2f5f82423c1b5ed6 --- adb/file_sync_client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/adb/file_sync_client.cpp b/adb/file_sync_client.cpp index 3a81ce6ac..cdbff11de 100644 --- a/adb/file_sync_client.cpp +++ b/adb/file_sync_client.cpp @@ -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; }