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 (cherry picked from commit 64fd6bd7) Merged-In: Ia1b9330c2b419a1a4048ed78d914d05c1caf523f
Loading
Please register or sign in to comment