commit | bceb99a0e728f1e4ffd81e985dcfe8c686acb1cb | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Dec 06 14:07:53 2016 -0800 |
committer | Josh Gao <jmgao@google.com> | Mon Dec 12 16:47:34 2016 -0800 |
tree | 9e4784a39f280e95d6a760f4d100425761faf652 | |
parent | 35e539f2e9b521d6a7c57a12f432c717aef848b6 [diff] |
adb: remove extraneous stat in sync_recv. We do a remote stat to get the file's size before pulling in sync_recv, but all of the callers to sync_recv have already done a stat. Pass the expected file size into sync_recv to remove its stat. Bug: http://b/31289465 Test: python test_device.py Change-Id: I7ca8ed11c6134e5954acac86626f880ade3ec696