From 30cea6fa396df1822988a9860b47b13dfb279161 Mon Sep 17 00:00:00 2001 From: "vicent.chi" Date: Tue, 16 Jun 2020 10:06:06 +0800 Subject: [PATCH 18/19] make adb tcp function default enable Signed-off-by: vicent.chi --- core/adbd/adb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/adbd/adb.c b/core/adbd/adb.c index c4c00d7..0004f2c 100644 --- a/core/adbd/adb.c +++ b/core/adbd/adb.c @@ -1322,8 +1322,8 @@ int adb_main(int is_daemon, int server_port) // printf("using port=%d\n", port); // listen on TCP port specified by service.adb.tcp.port property // local_init(port); - //} else - if (!usb) { + //} else if (!usb) + if (usb) { printf("Using USB\n"); // listen on default port local_init(DEFAULT_ADB_LOCAL_TRANSPORT_PORT); -- 2.20.1