commit | 821254249f493eb335682048fcece83f652cd8f5 | [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 | 822f3393b741c519961a18f86937aa62100a98ca | |
parent | 87127add4a3fd969acf017f2372b2a70d44cdc2e [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