diff options
Diffstat (limited to '')
-rw-r--r-- | twrp.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -24,9 +24,7 @@ #include "gui/twmsg.h" #include "cutils/properties.h" -extern "C" { #include "bootloader.h" -} #ifdef ANDROID_RB_RESTART #include "cutils/android_reboot.h" @@ -89,7 +87,7 @@ int main(int argc, char **argv) { if (argc == 3 && strcmp(argv[1], "--adbd") == 0) { property_set("ctl.stop", "adbd"); #ifdef TW_USE_NEW_MINADBD - adb_main(0, DEFAULT_ADB_PORT); + adb_server_main(0, DEFAULT_ADB_PORT, -1); #else adb_main(argv[2]); #endif |