Merge "AudioService: fix regression on hearing aid profile" am: 350176393c

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

Change-Id: Ib5637a4297ff86f34f1cd57705ed09167b72f67b
This commit is contained in:
Treehugger Robot
2022-02-23 16:34:07 +00:00
committed by Automerger Merge Worker

View File

@@ -482,6 +482,8 @@ public class BtHelper {
}
if (profile == BluetoothProfile.A2DP) {
mA2dp = (BluetoothA2dp) proxy;
} else if (profile == BluetoothProfile.HEARING_AID) {
mHearingAid = (BluetoothHearingAid) proxy;
} else if (profile == BluetoothProfile.LE_AUDIO) {
mLeAudio = (BluetoothLeAudio) proxy;
}