hearing_aid: Fix hearing aid behaviour when CoC could not connect
It might happen that CoC cannot be established because of the limited resorces when HA is connected to other paired device or from any other reason. It that happen, Android stays in Connecting state for 30sec which is Java layer timeout. With this patch, Java layer is notified about disconnection right after CoC is not established Manual test scenario 1) Bond Hearing Aids (with a capability to have 1 CoC - single stream) with two Phones 2) Connect HA from phone 1 3) Turn on Bluetooth on second phone Result. On the second phone HA seems to be connected but without streaming capabilities sponsor: jpawlowski test: manual Change-Id: I682dc77ca6c2b226c69f382058a6cbfc9e082006
Loading
Please register or sign in to comment