commit | 5d799cd454b64f221b6ac447fbf18d597338cddf | [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 | 22c1eefb0df8ca42659b8869498622039695e2a2 [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