commit | f66c5938be56c6fe607725c80129e677e196f03a | [log] [tgz] |
---|---|---|
author | bohu <bohu@google.com> | Mon Feb 29 13:13:19 2016 -0800 |
committer | bohu <bohu@google.com> | Tue Mar 01 17:33:57 2016 -0800 |
tree | ed74e3808e49aada51f39a2c4d1b76930efc7275 | |
parent | a335367bb02b759e5fa5aab535989f61ba691323 [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. Change-Id: I10424ad730c73516d16b0eb7318e8c9beea9b36b