Merge "aidl: Fix missing conversion logic for broadcast device" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-06-07 06:38:42 +00:00
committed by Android (Google) Code Review

View File

@@ -695,6 +695,10 @@ public class AidlConversion {
aidl.type = AudioDeviceType.OUT_SPEAKER;
aidl.connection = AudioDeviceDescription.CONNECTION_BT_LE;
break;
case AudioSystem.DEVICE_OUT_BLE_BROADCAST:
aidl.type = AudioDeviceType.OUT_BROADCAST;
aidl.connection = AudioDeviceDescription.CONNECTION_BT_LE;
break;
case AudioSystem.DEVICE_IN_BUILTIN_MIC:
aidl.type = AudioDeviceType.IN_MICROPHONE;
break;