commit | e8c3a3e92c26f6ef923eb8f8ab0f9027c106be6e | [log] [tgz] |
---|---|---|
author | Pavel Maltsev <pavelm@google.com> | Wed Aug 15 14:36:18 2018 -0700 |
committer | Pavel Maltsev <pavelm@google.com> | Thu Aug 16 13:59:40 2018 -0700 |
tree | 3ab1638d84962f2f1974a2c0240456fc5c6a89f9 | |
parent | ace398c3fb3fb89e368d9b35f5fbcc13924bb2b3 [diff] |
Check black-listed USB class before descriptor Attempt to read USB descriptor of USB hub devices results in hanging thread on getDescriptorString_native call. Also check device interface class/subclass as well. Test: verified that usb host thread no longer stuch in getDescriptorString_native call on Mojave board with USB hub attached Bug: 112657091 Change-Id: I46271dcc9c80168a650940fbde9218a54cafe8da