summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
Diffstat (limited to 'adb')
-rw-r--r--adb/services.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/adb/services.cpp b/adb/services.cpp
index 7398797..4e8e5a8 100644
--- a/adb/services.cpp
+++ b/adb/services.cpp
@@ -685,6 +685,9 @@ asocket* host_service_to_socket(const char* name, const char *serial)
} else if (!strncmp(name, "any", strlen("any"))) {
sinfo->transport = kTransportAny;
sinfo->state = CS_DEVICE;
+ } else if (!strncmp(name, "sideload", strlen("sideload"))) {
+ sinfo->transport = kTransportAny;
+ sinfo->state = CS_SIDELOAD;
} else {
free(sinfo);
return NULL;