diff options
author | Doug Zongker <dougz@android.com> | 2014-02-26 23:31:09 +0100 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-02-26 23:31:09 +0100 |
commit | 49968f0903eb69b1505bc99926344aacee4e81b6 (patch) | |
tree | 2e5dfbabedee882fb5829f32edd66921d88ff531 /minadbd/adb.c | |
parent | am ac189bf6: Merge "recovery: Fix adb with linux 3.10" (diff) | |
parent | Merge "ADB sideload command not work" (diff) | |
download | android_bootable_recovery-49968f0903eb69b1505bc99926344aacee4e81b6.tar android_bootable_recovery-49968f0903eb69b1505bc99926344aacee4e81b6.tar.gz android_bootable_recovery-49968f0903eb69b1505bc99926344aacee4e81b6.tar.bz2 android_bootable_recovery-49968f0903eb69b1505bc99926344aacee4e81b6.tar.lz android_bootable_recovery-49968f0903eb69b1505bc99926344aacee4e81b6.tar.xz android_bootable_recovery-49968f0903eb69b1505bc99926344aacee4e81b6.tar.zst android_bootable_recovery-49968f0903eb69b1505bc99926344aacee4e81b6.zip |
Diffstat (limited to 'minadbd/adb.c')
-rw-r--r-- | minadbd/adb.c | 2 |
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(); } |