summaryrefslogtreecommitdiffstats
path: root/libs/usb/tests/AccessoryChat/accessorychat
diff options
context:
space:
mode:
authorSimon Wilson <simonwilson@google.com>2012-02-07 14:24:06 -0800
committerSimon Wilson <simonwilson@google.com>2012-02-07 14:36:06 -0800
commitc92e6f14f9ac6c86b7784f8a21d7077ea7cae0bb (patch)
treeaed315aa915170fd56d39872fc5cac406f6c8782 /libs/usb/tests/AccessoryChat/accessorychat
parentdc210ade0ad4770c5294320453f8ddfbfcbaf943 (diff)
downloadframeworks_base-c92e6f14f9ac6c86b7784f8a21d7077ea7cae0bb.zip
frameworks_base-c92e6f14f9ac6c86b7784f8a21d7077ea7cae0bb.tar.gz
frameworks_base-c92e6f14f9ac6c86b7784f8a21d7077ea7cae0bb.tar.bz2
AccessoryChat: use platform APIs and support Galaxy Nexus
Change-Id: I171c2781f3d447bec46f0179351e1b18721b1b89
Diffstat (limited to 'libs/usb/tests/AccessoryChat/accessorychat')
-rw-r--r--libs/usb/tests/AccessoryChat/accessorychat/accessorychat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/usb/tests/AccessoryChat/accessorychat/accessorychat.c b/libs/usb/tests/AccessoryChat/accessorychat/accessorychat.c
index 85b52dd..06b477f 100644
--- a/libs/usb/tests/AccessoryChat/accessorychat/accessorychat.c
+++ b/libs/usb/tests/AccessoryChat/accessorychat/accessorychat.c
@@ -98,7 +98,7 @@ static int usb_device_added(const char *devname, void* client_data) {
vendorId = usb_device_get_vendor_id(device);
productId = usb_device_get_product_id(device);
- if (vendorId == 0x18D1 || vendorId == 0x22B8) {
+ if (vendorId == 0x18D1 || vendorId == 0x22B8 || vendorId == 0x04e8) {
if (!sDevice && (productId == 0x2D00 || productId == 0x2D01)) {
struct usb_descriptor_header* desc;
struct usb_descriptor_iter iter;