commit | 8ac1b044afd879ff6e0bb969d6c25c89b1869ea8 | [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 | 2d750b266b9f64e4102ab47d2d38e84874c0a1d2 [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