Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f61f1745 authored by Eric Laurent's avatar Eric Laurent
Browse files

AudioService: fix regression on hearing aid profile

Fix regression introduced by Commit 3fe5af48 where the
hearing aid profile is not stored in BtHelper.

Bug: 211530990
Test: make
Change-Id: Ie3f8757f5fec78df2da028791e9ba2ebb5833675
parent 4d897c6a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
        }