commit | 81ca5ade77ea518aa21fdd7434d2db5df088a115 | [log] [tgz] |
---|---|---|
author | Daichi Hirono <hirono@google.com> | Tue Aug 18 21:13:40 2015 +0900 |
committer | Daichi Hirono <hirono@google.com> | Thu Aug 20 15:14:53 2015 +0900 |
tree | f201610ca81c7731190a11ca884a8678415f6245 | |
parent | 2b355c2063fa89a50c5fd463c00a47633dfee56b [diff] |
Read whole data from MTP device even on writing error. Once the object bytes is requested on the MTP client device, the device tries to send whole data of object. We need to read the complete data from the device even when we have errors at the destination file descriptor. Otherwise the object data will be received as a response of next request unintentionally. BUG=23264575 Change-Id: I3369786370022f65aa760dd6b75204a946f712af