commit | 63da058e12c6fb98b199b959a0abdb21509d383f | [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 | 41e280a69cddb1befbe9c436d226eaa0321ac227 | |
parent | 4ac1e2859ccc94a5683e3aa5aeaa48392a459089 [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>