commit | a04e6fa61391f1ef64266579760f315c6b3e70b9 | [log] [tgz] |
---|---|---|
author | Daichi Hirono <hirono@google.com> | Thu Dec 24 14:20:44 2015 +0900 |
committer | Daichi Hirono <hirono@google.com> | Thu Dec 24 16:59:10 2015 +0900 |
tree | a1badc9804fe0bf9b104cdb9d86c631a224ac8ce | |
parent | d958855ff2f7c05672b5278437ee0d177270d24d [diff] |
Fix MtpDevice to read 0-byte object correctly. If a requested object is 0 bytes, the remote MTP device can return MTP_CONTAINER_TYPE_RESPONSE at the first response package. Previous implementation does not handle the case. BUG=26317907 Change-Id: I6ae1138bf1b24aa197575bea0440cc032ffd622a