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

Skip to content
Commit d0c7d9c5 authored by Harshita Ojha's avatar Harshita Ojha
Browse files

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
parent daef9fc8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment