diff options
| author | Xavier Ducrohet <xav@android.com> | 2009-05-21 17:47:43 -0700 |
|---|---|---|
| committer | Xavier Ducrohet <xav@android.com> | 2009-05-22 15:25:25 -0700 |
| commit | a481d096feba7cf6e61d54e416a68e2d46498df1 (patch) | |
| tree | 24c6057a3d3d5c960744c4cbed5c3c2918378089 /adb/adb.c | |
| parent | a09fbd164d2e088bc5433d310e25640ae048d47d (diff) | |
| download | system_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.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -919,9 +919,6 @@ int adb_main(int is_daemon) fdevent_loop(); usb_cleanup(); -#if ADB_HOST - usb_vendors_cleanup(); -#endif return 0; } |
