diff options
| author | 2022-02-23 13:00:26 +0000 | |
|---|---|---|
| committer | 2022-02-23 13:00:26 +0000 | |
| commit | 350176393cc99ffb51ce6a5aafba41d3744056a2 (patch) | |
| tree | 8f709848161a678f9f7b75cb722d7114f54b2b72 | |
| parent | 7db2d81ae0478e040a1f497e8126a20103c9d43f (diff) | |
| parent | 84af04b39ef3980555b57912c20d50f8c370112e (diff) | |
Merge "AudioService: fix regression on hearing aid profile"
| -rw-r--r-- | services/core/java/com/android/server/audio/BtHelper.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/audio/BtHelper.java b/services/core/java/com/android/server/audio/BtHelper.java index f813ae011fee..b8ca7c7b67e1 100644 --- a/services/core/java/com/android/server/audio/BtHelper.java +++ b/services/core/java/com/android/server/audio/BtHelper.java @@ -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; } |