Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
adb: use transport-any to allow connecting to the emulator
Browse files Browse the repository at this point in the history
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
FauxFaux committed Oct 25, 2012
1 parent 1814431 commit 17821f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adb.c
Expand Up @@ -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)
Expand Down

0 comments on commit 17821f9

Please sign in to comment.