diff options
Diffstat (limited to 'adb/services.c')
| -rw-r--r-- | adb/services.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/adb/services.c b/adb/services.c index 22fccf44..7792ccdd 100644 --- a/adb/services.c +++ b/adb/services.c @@ -572,6 +572,12 @@ asocket* host_service_to_socket(const char* name, const char *serial) } else if (!strncmp(name, "sideload", strlen("sideload"))) { sinfo->transport = kTransportAny; sinfo->state = CS_SIDELOAD; + } else if (!strncmp(name, "recovery", strlen("recovery"))) { + sinfo->transport = kTransportAny; + sinfo->state = CS_RECOVERY; + } else if (!strncmp(name, "online", strlen("online"))) { + sinfo->transport = kTransportAny; + sinfo->state = CS_ONLINE; } else { free(sinfo); return NULL; |
