commit | 17c13e6d603c83bbf0ccb217e04f610b5c44aa5d | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Wed Aug 22 15:13:18 2018 -0700 |
committer | Josh Gao <jmgao@google.com> | Wed Aug 22 17:11:40 2018 -0700 |
tree | 12121f9cf81aa26e1efdfaf99295f91be50bc0ab | |
parent | a57cf720ce7a0cd6d516e1440abce5f9e0a5cd21 [diff] |
adb: fix spurious usb write failure on Windows. We were accidentally returning 0 instead of the number of bytes written whenever we wrote a USB packet that had a size that was a multiple of the USB packet size, which resulted in the device getting kicked. Bug: http://b/113070258 Test: python test_device.py Change-Id: Ib3d6415545e90e1f4730afc8ad8713d10bb1534a