Merge "AudioService: fix regression on hearing aid profile" into tm-dev

This commit is contained in:
Eric Laurent
2022-02-22 19:49:26 +00:00
committed by Android (Google) Code Review

View File

@@ -479,6 +479,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;
}