commit | 82a2834beefd76d5a7808f41b10fddfee33a3bd0 | [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 | c637a3ab207a9645e53d0c34d9f4c155df71339a | |
parent | a54f6c713de2463b93160e6b104b99bd4638e28c [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