summaryrefslogtreecommitdiffstats
path: root/minadbd/adb.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-02-26 23:39:08 +0100
committerAndroid Git Automerger <android-git-automerger@android.com>2014-02-26 23:39:08 +0100
commita47996c6a34f796c551ab1db1e93c0a725c2aaee (patch)
treef218c526e41d2f25fc1373b93c7c8c61c58ad336 /minadbd/adb.c
parentam ed75be6d: am ac189bf6: Merge "recovery: Fix adb with linux 3.10" (diff)
parentam 2f173bde: Merge "ADB sideload command not work" (diff)
downloadandroid_bootable_recovery-a47996c6a34f796c551ab1db1e93c0a725c2aaee.tar
android_bootable_recovery-a47996c6a34f796c551ab1db1e93c0a725c2aaee.tar.gz
android_bootable_recovery-a47996c6a34f796c551ab1db1e93c0a725c2aaee.tar.bz2
android_bootable_recovery-a47996c6a34f796c551ab1db1e93c0a725c2aaee.tar.lz
android_bootable_recovery-a47996c6a34f796c551ab1db1e93c0a725c2aaee.tar.xz
android_bootable_recovery-a47996c6a34f796c551ab1db1e93c0a725c2aaee.tar.zst
android_bootable_recovery-a47996c6a34f796c551ab1db1e93c0a725c2aaee.zip
Diffstat (limited to 'minadbd/adb.c')
-rw-r--r--minadbd/adb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/minadbd/adb.c b/minadbd/adb.c
index 948f4b755..7291b4bd5 100644
--- a/minadbd/adb.c
+++ b/minadbd/adb.c
@@ -387,7 +387,7 @@ int adb_main()
init_transport_registration();
// The minimal version of adbd only uses USB.
- if (access("/dev/android_adb", F_OK) == 0) {
+ if (access(USB_ADB_PATH, F_OK) == 0 || access(USB_FFS_ADB_EP0, F_OK) == 0) {
// listen on USB
usb_init();
}