commit | d58fbcbab1482c1f11b0150f7774f4077736205b | [log] [tgz] |
---|---|---|
author | bohu <bohu@google.com> | Mon Feb 29 13:13:19 2016 -0800 |
committer | bohu <bohu@google.com> | Tue Mar 01 17:39:31 2016 -0800 |
tree | b57e3ca9bf190dab8af439234affcb985b480912 | |
parent | b69a1318d8b36bea69ea18fec7bffe56b0277544 [diff] |
Emulator: fix adbd qemu pipe partial write It does happens that the adb_write only writes to the qemu pipe partially which throws host side's adb backend into confusion and crashes. This CL replaces adb_write with WriteFdExactly; adb_read with ReadFdExactly. (cherry picked from commit f66c5938be56c6fe607725c80129e677e196f03a) Change-Id: I684f5df79b1e3f00b4b7a2452c2712a73c15973c