commit | af436b1e10bed3b89880b3bd4f3031ea14057def | [log] [tgz] |
---|---|---|
author | Vince Harron <vharron@google.com> | Thu Sep 25 21:51:15 2014 -0700 |
committer | Vince Harron <vharron@google.com> | Thu Sep 25 21:51:15 2014 -0700 |
tree | 9684b2ece65ad646c01b75154b1057e15979d2f3 | |
parent | 8dd3ea58fdd99912f631156c37bcb2555ce8aec3 [diff] |
fix for adbd pinning CPU adbd was spinning between select & read (0 bytes) for an adb_auth socket. The read documentation states: "On success, the number of bytes read is returned (zero indicates end of file)" so the code has been modified to close the connection (like the read error case). BUG=17419868 Change-Id: I1d8fb70c8e1876225ba8d47ea0a2b6265a7d182b