commit | 9fae8768734d9c93c08178f178d87ef45440fc4a | [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 | 94100176362339fc1a22cff58e26e543648bb193 | |
parent | 065804c5d75e96643bf16752f577e516252e42ff [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