diff options
author | bohu <bohu@google.com> | 2016-02-29 13:13:19 -0800 |
---|---|---|
committer | bohu <bohu@google.com> | 2016-03-01 17:33:57 -0800 |
commit | f66c5938be56c6fe607725c80129e677e196f03a (patch) | |
tree | ed74e3808e49aada51f39a2c4d1b76930efc7275 /libutils/RefBase.cpp | |
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
Diffstat (limited to 'libutils/RefBase.cpp')
0 files changed, 0 insertions, 0 deletions