commit | d14337b56fd1452139662d66dd2a533b846707e5 | [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 | efe9111920081f6e84e01639e6b1410cfac31583 [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