summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-20 01:05:30 +0100
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-20 01:05:30 +0100
commit552fceb85cde45581ef04a23a2e76e6298ed15a5 (patch)
tree50a26b997958b2db8d64ade8618d72b30a148992 /recovery.cpp
parentMerge commit 'f8dd04e1a5f94e7accf65a5375114ac7fa73f828' into HEAD (diff)
parentMerge "Kill of most of the remainder of minadbd." (diff)
downloadandroid_bootable_recovery-552fceb85cde45581ef04a23a2e76e6298ed15a5.tar
android_bootable_recovery-552fceb85cde45581ef04a23a2e76e6298ed15a5.tar.gz
android_bootable_recovery-552fceb85cde45581ef04a23a2e76e6298ed15a5.tar.bz2
android_bootable_recovery-552fceb85cde45581ef04a23a2e76e6298ed15a5.tar.lz
android_bootable_recovery-552fceb85cde45581ef04a23a2e76e6298ed15a5.tar.xz
android_bootable_recovery-552fceb85cde45581ef04a23a2e76e6298ed15a5.tar.zst
android_bootable_recovery-552fceb85cde45581ef04a23a2e76e6298ed15a5.zip
Diffstat (limited to '')
-rw-r--r--recovery.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/recovery.cpp b/recovery.cpp
index e42474e73..07606137b 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -44,7 +44,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"
}
@@ -998,7 +998,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;
}