diff options
author | Josh Gao <jmgao@google.com> | 2018-12-13 13:06:03 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2018-12-21 11:52:56 -0800 |
commit | f0fa1e40c90f2be0308a8101d6c386622ed62e33 (patch) | |
tree | 9991cf238992451a3ebcaa7d636a832e91b321e0 /adb.h | |
parent | 2d62747b52fe32c69807c1bdf33dc6a7924e0e87 (diff) | |
download | adb-f0fa1e40c90f2be0308a8101d6c386622ed62e33.tar.gz |
adb: switch daemon_service_to_fd to string_view.
Test: test_adb.py
Test: test_device.py
Test: $ANDROID_HOST_OUT/nativetest64/adb_test/adb_test
Test: adb shell /data/nativetest64/adbd_test/adbd_test
Change-Id: I298517b688650c9d94bf837284e0264ca0ac6702
Diffstat (limited to 'adb.h')
-rw-r--r-- | adb.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -141,7 +141,7 @@ atransport* find_emulator_transport_by_console_port(int console_port); int service_to_fd(const char* name, atransport* transport); #if !ADB_HOST -unique_fd daemon_service_to_fd(const char* name, atransport* transport); +unique_fd daemon_service_to_fd(std::string_view name, atransport* transport); #endif #if ADB_HOST |