summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-20 00:47:21 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-02-20 00:47:22 +0100
commit2d1022250941873f8748e6a159d4e5bf976e511f (patch)
tree247e812a898020502652e1cae9f244acab0aa517 /recovery.cpp
parentMerge "Move adb_main to its own file." (diff)
parentKill of most of the remainder of minadbd. (diff)
downloadandroid_bootable_recovery-2d1022250941873f8748e6a159d4e5bf976e511f.tar
android_bootable_recovery-2d1022250941873f8748e6a159d4e5bf976e511f.tar.gz
android_bootable_recovery-2d1022250941873f8748e6a159d4e5bf976e511f.tar.bz2
android_bootable_recovery-2d1022250941873f8748e6a159d4e5bf976e511f.tar.lz
android_bootable_recovery-2d1022250941873f8748e6a159d4e5bf976e511f.tar.xz
android_bootable_recovery-2d1022250941873f8748e6a159d4e5bf976e511f.tar.zst
android_bootable_recovery-2d1022250941873f8748e6a159d4e5bf976e511f.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/recovery.cpp b/recovery.cpp
index d8756d7ce..2b5332e00 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -43,7 +43,7 @@
#include "device.h"
#include "adb_install.h"
extern "C" {
-#include "minadbd/adb.h"
+#include "adb.h"
#include "fuse_sideload.h"
#include "fuse_sdcard_provider.h"
}
@@ -841,7 +841,7 @@ main(int argc, char **argv) {
// only way recovery should be run with this argument is when it
// starts a copy of itself from the apply_from_adb() function.
if (argc == 2 && strcmp(argv[1], "--adbd") == 0) {
- adb_main();
+ adb_main(0, DEFAULT_ADB_PORT);
return 0;
}