diff options
author | Pavel Maltsev <pavelm@google.com> | 2018-08-15 14:36:18 -0700 |
---|---|---|
committer | Pavel Maltsev <pavelm@google.com> | 2018-08-16 13:59:40 -0700 |
commit | e8c3a3e92c26f6ef923eb8f8ab0f9027c106be6e (patch) | |
tree | 3ab1638d84962f2f1974a2c0240456fc5c6a89f9 /tools/aapt2/java/JavaClassGenerator.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions