commit | f4ae8fa1b5416c738e89f8e79647a080428fefd8 | [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 | b15f02726a52421d39602cbff33f398e3914b7a0 | |
parent | 79f77929e69e3862645b99a6a38d31db956f7e33 [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