Merge "AudioService: fix regression on hearing aid profile"

This commit is contained in:
Treehugger Robot
2022-02-23 13:00:26 +00:00
committed by Gerrit Code Review

View File

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