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

Commit 14e56413 authored by Michał Narajowski's avatar Michał Narajowski
Browse files

CachedBluetoothDevice: Add missing LeAudioProfile

LeAudioProfile state changes were not handled and
so we couldn't detect timeouts on this profile.

Bug: 268587046
Test: BluetoothInstrumentationTest
Change-Id: I492bfc970103a3235a2ec07ebea88016753507d9
parent a8e97b09
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice>

        synchronized (mProfileLock) {
            if (profile instanceof A2dpProfile || profile instanceof HeadsetProfile
                    || profile instanceof HearingAidProfile) {
                    || profile instanceof HearingAidProfile || profile instanceof LeAudioProfile) {
                setProfileConnectedStatus(profile.getProfileId(), false);
                switch (newProfileState) {
                    case BluetoothProfile.STATE_CONNECTED: