Don't notify java state machine about failure when the remote device is already connected
When there is a HFP collision, the phone accepts remote request, and fails the outgoing request When outgoing request cancelled, native layer notifies java layer as disconnected. This confuses the java state machine to make a reconnection. This change target to not notify java layer for the failure. Bug: 341209537 Bug: 346679106 Test: m packages/modules/Bluetooth with Manual testing Flag: com.android.bluetooth.flags.ignore_notify_when_already_connected Change-Id: Id075f20fecdcd6369f8f41bbff17b2dc6fd13efb
Loading
Please register or sign in to comment