aboutsummaryrefslogtreecommitdiff
path: root/adb.h
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2018-12-13 14:21:00 -0800
committerJosh Gao <jmgao@google.com>2018-12-21 11:53:27 -0800
commit6dbf579e448b1d25eba03ede5cfcebb5e3c5e080 (patch)
treee785ec4d592e909ce4794a1cdd790722e36c1b48 /adb.h
parentab9958e27fafbbc11fe5b2a120aad9eed664967d (diff)
downloadadb-6dbf579e448b1d25eba03ede5cfcebb5e3c5e080.tar.gz
adb: finish switching service creation 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: If4ea92aee1c0264d946de72483f8d715d96fcfd8
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 bd5d5504..47ea0e84 100644
--- a/adb.h
+++ b/adb.h
@@ -139,7 +139,7 @@ atransport* find_emulator_transport_by_adb_port(int adb_port);
atransport* find_emulator_transport_by_console_port(int console_port);
#endif
-int service_to_fd(const char* name, atransport* transport);
+int service_to_fd(std::string_view name, atransport* transport);
#if !ADB_HOST
unique_fd daemon_service_to_fd(std::string_view name, atransport* transport);
#endif