commit | 64fd6bd779070ce789765e8ac73743696a593dc0 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Mon May 01 13:34:51 2023 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Mon May 01 13:34:51 2023 -0700 |
tree | 9b619088a9ee3db3f5bd226c5cc0e8129ad1ec00 | |
parent | e0a23885614fc6c1e5cefa509cd90f5492a5572b [diff] |
audio: Use the canonical direction port direction in ModuleUsb Instead of relying on the device type, use the 'AudioPort.flags' field to determine the device direction. Remove 'isUsbInputDeviceType' and 'isUsbOutputtDeviceType' as they are too specific to particular device type and just add a maintenance burden. Bug: 266216550 Test: m Change-Id: Ia1b9330c2b419a1a4048ed78d914d05c1caf523f