aboutsummaryrefslogtreecommitdiffstats
path: root/android/multitouch-screen.c
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2012-04-30 15:18:15 -0700
committerVladimir Chtchetkine <vchtchetkine@google.com>2012-04-30 15:18:15 -0700
commit39a1158197072f846301a8263e2851e892962e64 (patch)
tree4e46cb3eefc05827396db83dcf8a3007a32b883a /android/multitouch-screen.c
parent7136b053b7fc7840ec64e01d1d19ab822e1f949a (diff)
downloadexternal_qemu-39a1158197072f846301a8263e2851e892962e64.zip
external_qemu-39a1158197072f846301a8263e2851e892962e64.tar.gz
external_qemu-39a1158197072f846301a8263e2851e892962e64.tar.bz2
Fix adb client protocol
There are cases when 'accept' message that guest adbd sends via qemu pipe to the emulator get broken into pieces: once 4 bytes are delivered, and then the remaining two. This breaks the protocol, as emulator assumes that all 6 bytes would be delivered in one chunk. This CL adjusts that by accumulating messages in a buffer, and analyzing them only when collected message length reaches certain point. Change-Id: Ice25625f65bbaa2b07677c3285bf75e7bf46fbb7
Diffstat (limited to 'android/multitouch-screen.c')
0 files changed, 0 insertions, 0 deletions