commit | e38a31e305b0944c0cd1ae782e47e3145d731f0f | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Tue Jun 02 21:46:58 2009 -0700 |
committer | Mike Lockwood <lockwood@android.com> | Tue Jun 02 22:09:03 2009 -0700 |
tree | fa2d0fe38bf809858499384ab6bffa495f713ac0 | |
parent | 3c5a6f0bc8aefc4dacab8e95ba9017a7ac7d91f5 [diff] |
adb: Workaround for adb disconnect problem. For non-interactive adb shell commands, batch USB writes into 4K chunks instead of sending small packets of data as they come in. Add a timeout so we do not block for more than 200ms when our 4K buffer is partially full. Signed-off-by: Mike Lockwood <lockwood@android.com>