commit | da8119596fc6b9bb3d2208cc675036efac24fb6b | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri Feb 19 15:55:55 2016 -0800 |
committer | Josh Gao <jmgao@google.com> | Mon Feb 22 15:57:09 2016 -0800 |
tree | a170d900980214a615f7eef84de5ed8178ecddc9 | |
parent | 4d74811cd422438855cac67702e9535c43d502fe [diff] |
adb: check for an error response from adbd between each write. When sending a file, do a 0-timeout poll to check to see if an error has occurred, so that we can immediately report failure. Bug: http://b/26816782 Change-Id: I4a8aa8408a36940bfda7b0ecfa5d13755f4aa14d (cherry picked from commit afcdcd703e3023dfc60638cf6b67b530ec18cb18)