aboutsummaryrefslogtreecommitdiff
path: root/adb.h
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2018-12-13 13:06:03 -0800
committerJosh Gao <jmgao@google.com>2018-12-21 11:52:56 -0800
commitf0fa1e40c90f2be0308a8101d6c386622ed62e33 (patch)
tree9991cf238992451a3ebcaa7d636a832e91b321e0 /adb.h
parent2d62747b52fe32c69807c1bdf33dc6a7924e0e87 (diff)
downloadadb-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb.h b/adb.h
index cdd63465..bd5d5504 100644
--- a/adb.h
+++ b/adb.h
@@ -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