Bluez doesn't handle disconnect while connecting well.
Defer the message. Bug: 3076404 Change-Id: Id62e1008346f492a85e714240a832a061def1786
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user