aboutsummaryrefslogtreecommitdiffstats
path: root/adb/adb.c
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2009-05-21 17:47:43 -0700
committerXavier Ducrohet <xav@android.com>2009-05-22 15:25:25 -0700
commita481d096feba7cf6e61d54e416a68e2d46498df1 (patch)
tree24c6057a3d3d5c960744c4cbed5c3c2918378089 /adb/adb.c
parenta09fbd164d2e088bc5433d310e25640ae048d47d (diff)
downloadsystem_core-a481d096feba7cf6e61d54e416a68e2d46498df1.tar.gz
system_core-a481d096feba7cf6e61d54e416a68e2d46498df1.tar.bz2
system_core-a481d096feba7cf6e61d54e416a68e2d46498df1.zip
Support for 3rd party USB Vendor IDs in adb.
Vendor IDs are read from ~/.android/adb_usb.ini. The format is very simple: 1 number per line. First number is ID count, followed by the ID themselves. Lines starting with # are considered comments. Other misc changes: moved VENDOR_ID_* to usb_vendors.c to prevent direct access. Made transport_usb.c reuse the USB constant introduced in usb_osx (moved them to adb.h)
Diffstat (limited to 'adb/adb.c')
-rw-r--r--adb/adb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/adb/adb.c b/adb/adb.c
index 0b5ebacd..6e170aeb 100644
--- a/adb/adb.c
+++ b/adb/adb.c
@@ -919,9 +919,6 @@ int adb_main(int is_daemon)
fdevent_loop();
usb_cleanup();
-#if ADB_HOST
- usb_vendors_cleanup();
-#endif
return 0;
}