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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18674055

Change-Id: I3d22a1cbbd261874b89ff24a71cce3b01af23dfb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Grzegorz Kolodziejczyk
2022-06-02 10:55:13 +00:00
committed by Automerger Merge Worker

View File

@@ -695,6 +695,10 @@ public class AidlConversion {
aidl.type = AudioDeviceType.OUT_SPEAKER; aidl.type = AudioDeviceType.OUT_SPEAKER;
aidl.connection = AudioDeviceDescription.CONNECTION_BT_LE; aidl.connection = AudioDeviceDescription.CONNECTION_BT_LE;
break; 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: case AudioSystem.DEVICE_IN_BUILTIN_MIC:
aidl.type = AudioDeviceType.IN_MICROPHONE; aidl.type = AudioDeviceType.IN_MICROPHONE;
break; break;