commit | f571fcbe871f0968d64fd5550bbbd5f0279fe1fd | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon Feb 05 18:49:10 2018 -0800 |
committer | Josh Gao <jmgao@google.com> | Wed Feb 21 14:30:17 2018 -0800 |
tree | f68521b101bc8fd91d6414f044aa9f8ddc47b8d8 | |
parent | 2733708cfb2ed041e0a82593eeaae5b48ca44a66 [diff] [blame] |
adb: switch apacket over to a std::string payload. Test: python test_device.py with walleye/x86_64 emulator Change-Id: I0a18941af1cb2279e5019a24ace25741def1202f
diff --git a/adb/adb.h b/adb/adb.h index c9c635a..a6d0463 100644 --- a/adb/adb.h +++ b/adb/adb.h
@@ -74,7 +74,7 @@ struct apacket { amessage msg; - char data[MAX_PAYLOAD]; + std::string payload; }; uint32_t calculate_apacket_checksum(const apacket* packet);