Merge "AudioService: fix regression on hearing aid profile" am: 350176393c am: 69bce647f5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1994851 Change-Id: Iad49273782d6072821b91c5c42cccb2bfd19d07e
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user