libaudiohal@aidl: Fix handling of point-to-point connections
Point-to-point connections (analog, HDMI, SPDIF) do not use a device address. Reflect that in `GenerateUniqueDeviceAddress`. When looking for a device port by address, check if there is a connected device, and use the connected device port. Bug: 300648357 Test: atest audiosystem_tests Change-Id: Ic89fe25f1b757d8d95da0cbef09aa55887e62f4f
Loading
Please register or sign in to comment