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

Commit adbda6f0 authored by Jaikumar Ganesh's avatar Jaikumar Ganesh
Browse files

Bluez doesn't handle disconnect while connecting well.

Defer the message.

Bug: 3076404
Change-Id: Id62e1008346f492a85e714240a832a061def1786
parent 844a6b3c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -516,7 +516,7 @@ public final class BluetoothDeviceProfileState extends HierarchicalStateMachine
                    }
                    break;
                case DISCONNECT_A2DP_OUTGOING:
                    processCommand(DISCONNECT_A2DP_OUTGOING);
                    deferMessage(message);
                    break;
                case DISCONNECT_A2DP_INCOMING:
                    // Ignore, will be handled by Bluez