Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adb: use transport-any to allow connecting to the emulator

This is mainly to ease testing; I have no idea what effects
it will have in the real world, but we believe it to be minimal.
  • Loading branch information...
commit 17821f9b48139cab7b66263d0573e88a71b48fe5 1 parent 1814431
@FauxFaux authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  adb.c
View
2  adb.c
@@ -192,7 +192,7 @@ static const char *adb_init(void *frontend_handle, void **backend_handle,
}
/* send initial data to adb server */
-#define ADB_SHELL_DEFAULT_STR "0012" "host:transport-usb"
+#define ADB_SHELL_DEFAULT_STR "0012" "host:transport-any"
#define ADB_SHELL_DEFAULT_STR_LEN (sizeof(ADB_SHELL_DEFAULT_STR)-1)
#define ADB_SHELL_SERIAL_PREFIX "host:transport:"
#define ADB_SHELL_SERIAL_PREFIX_LEN (sizeof(ADB_SHELL_SERIAL_PREFIX)-1)
Please sign in to comment.
Something went wrong with that request. Please try again.