summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-19 22:21:14 +0100
committerDan Albert <danalbert@google.com>2015-02-20 00:41:35 +0100
commitf3a5726919ce35d3f5e628e9561496470195ac1f (patch)
tree247e812a898020502652e1cae9f244acab0aa517 /recovery.cpp
parentMerge "Move adb_main to its own file." (diff)
downloadandroid_bootable_recovery-f3a5726919ce35d3f5e628e9561496470195ac1f.tar
android_bootable_recovery-f3a5726919ce35d3f5e628e9561496470195ac1f.tar.gz
android_bootable_recovery-f3a5726919ce35d3f5e628e9561496470195ac1f.tar.bz2
android_bootable_recovery-f3a5726919ce35d3f5e628e9561496470195ac1f.tar.lz
android_bootable_recovery-f3a5726919ce35d3f5e628e9561496470195ac1f.tar.xz
android_bootable_recovery-f3a5726919ce35d3f5e628e9561496470195ac1f.tar.zst
android_bootable_recovery-f3a5726919ce35d3f5e628e9561496470195ac1f.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;
}