diff options
author | Josh Gao <jmgao@google.com> | 2019-02-20 19:30:59 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2019-02-25 13:49:25 -0800 |
commit | cd30bb31f1c251d1a6b4b16244b26b8689dfe4eb (patch) | |
tree | bea373e280d09fbe4d0efd494a87206a382195ed /adb.h | |
parent | 2f1cac23b68f53d5f69d39dc954f9ece56660ee9 (diff) | |
download | adb-cd30bb31f1c251d1a6b4b16244b26b8689dfe4eb.tar.gz |
adb: switch handle_host_request to string_view.
Test: test_adb.py
Test: test_device.py
Change-Id: Ideae5262a6dff2e27c50f666144d48f874837290
Diffstat (limited to 'adb.h')
-rw-r--r-- | adb.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -218,7 +218,7 @@ extern const char* adb_device_banner; #define USB_FFS_ADB_IN USB_FFS_ADB_EP(ep2) #endif -bool handle_host_request(const char* service, TransportType type, const char* serial, +bool handle_host_request(std::string_view service, TransportType type, const char* serial, TransportId transport_id, int reply_fd, asocket* s); void handle_online(atransport* t); |